mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-26 10:52:57 +02:00
modem.cgi: Use new perl system functions
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -57,7 +57,7 @@ ERROR:
|
||||
|
||||
if ($modemsettings{'ACTION'} eq $Lang::tr{'restore defaults'})
|
||||
{
|
||||
system('/bin/cp', "${General::swroot}/modem/defaults", "${General::swroot}/modem/settings", '-f');
|
||||
&General::system("cp", "-f", "${General::swroot}/modem/defaults", "${General::swroot}/modem/settings");
|
||||
}
|
||||
|
||||
&General::readhash("${General::swroot}/modem/settings", \%modemsettings);
|
||||
|
||||
Reference in New Issue
Block a user