diff options
author | Arnaud Desmons <adesmons@mandriva.com> | 2002-07-26 11:44:16 +0000 |
---|---|---|
committer | Arnaud Desmons <adesmons@mandriva.com> | 2002-07-26 11:44:16 +0000 |
commit | 2ca038cada0fea693b5e3f6b157deefd5c644d8d (patch) | |
tree | 50c4f96bfda3eb5d19898896ffefb878d8c2d235 /dhcp_wizard | |
parent | b80b56358396566219357563954d4d035304d047 (diff) | |
download | drakwizard-2ca038cada0fea693b5e3f6b157deefd5c644d8d.tar drakwizard-2ca038cada0fea693b5e3f6b157deefd5c644d8d.tar.gz drakwizard-2ca038cada0fea693b5e3f6b157deefd5c644d8d.tar.bz2 drakwizard-2ca038cada0fea693b5e3f6b157deefd5c644d8d.tar.xz drakwizard-2ca038cada0fea693b5e3f6b157deefd5c644d8d.zip |
clean tmp
Diffstat (limited to 'dhcp_wizard')
-rw-r--r-- | dhcp_wizard/scripts/Dhcpconf.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dhcp_wizard/scripts/Dhcpconf.pm b/dhcp_wizard/scripts/Dhcpconf.pm index 9c38736a..1358c8fd 100644 --- a/dhcp_wizard/scripts/Dhcpconf.pm +++ b/dhcp_wizard/scripts/Dhcpconf.pm @@ -57,7 +57,7 @@ sub do_it { } close(OLD); close(NEW); - MDK::Common::cp_af($tmp, $file); + system("mv $tmp $file"); } $file = "/etc/dhcpd.conf"; MDK::Common::cp_af($file, $file.".orig"); @@ -79,7 +79,7 @@ sub do_it { } close(OLD); close(NEW); - MDK::Common::cp_af($tmp, $file); + system("mv $tmp $file"); system("touch /var/dhcpd/dhcpd.leases") or die "can not touch /var/dhcpd/dhcd.leases: $!"; # modifying webmin config $file="/etc/webmin/dhcpd/config"; |