pppsetup.cgi: Use new perl system functions

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2021-06-10 14:35:56 +01:00
parent 3be1e3c6f7
commit d10e04ec99

View File

@@ -962,7 +962,7 @@ sub updatesettings
unlink("${General::swroot}/ppp/settings");
link("${General::swroot}/ppp/settings-$pppsettings{'PROFILE'}",
"${General::swroot}/ppp/settings");
system ("/usr/bin/touch", "${General::swroot}/ppp/updatesettings");
&General::system("/usr/bin/touch", "${General::swroot}/ppp/updatesettings");
}
sub writesecrets