Update camera_settings_control.sh
This commit is contained in:
parent
c5f2dc4f50
commit
b285260e99
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ function remove_camera_settings_control(){
|
||||||
Y|y)
|
Y|y)
|
||||||
echo -e "${white}"
|
echo -e "${white}"
|
||||||
echo -e "Info: Removing file..."
|
echo -e "Info: Removing file..."
|
||||||
"$HS_CONFIG_FOLDER"/camera-settings.cfg
|
rm -f "$HS_CONFIG_FOLDER"/camera-settings.cfg
|
||||||
if grep -q "include Helper-Script/camera-settings" "$PRINTER_CFG" ; then
|
if grep -q "include Helper-Script/camera-settings" "$PRINTER_CFG" ; then
|
||||||
echo -e "Info: Removing Camera Settings configurations in printer.cfg file..."
|
echo -e "Info: Removing Camera Settings configurations in printer.cfg file..."
|
||||||
sed -i '/include Helper-Script\/camera-settings\.cfg/d' "$PRINTER_CFG"
|
sed -i '/include Helper-Script\/camera-settings\.cfg/d' "$PRINTER_CFG"
|
||||||
|
|
Loading…
Add table
Reference in a new issue