]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - html/cgi-bin/gui.cgi
Merge branch 'next'
[ipfire-2.x.git] / html / cgi-bin / gui.cgi
index 726abf7dee5742d7b0b80ecf74f7ecf05f61b11e..f06b0f9238bba29b17ecda2b1b10ded8199d5696 100644 (file)
@@ -78,9 +78,9 @@ if ($cgiparams{'ACTION'} eq "$Lang::tr{'save'}")
         # Beep on ip-up or ip-down. Default is ON.
         if ($cgiparams{'PPPUPDOWNBEEP'} ne 'on') {
             $cgiparams{'PPPUPDOWNBEEP'} = 'off';
-            system ('/usr/bin/touch', "${General::swroot}/ppp/nobeeps");
+            system ('/usr/bin/touch', "${General::swroot}/red/nobeeps");
         } else {
-            unlink "${General::swroot}/ppp/nobeeps";
+            unlink "${General::swroot}/red/nobeeps";
         }
 
         # write cgi vars to the file.