diff options
author | Arnaud Desmons <adesmons@mandriva.com> | 2002-07-26 12:14:24 +0000 |
---|---|---|
committer | Arnaud Desmons <adesmons@mandriva.com> | 2002-07-26 12:14:24 +0000 |
commit | 339c34215d9c46f6ebd1bbf524e73af341214610 (patch) | |
tree | 44e32eae9f1175a6c6f75e4ab7d9c758aef9aa31 /dhcp_wizard/scripts | |
parent | e2f5bef5f4c0b287600a553431edca6c2bad18e5 (diff) | |
download | drakwizard-339c34215d9c46f6ebd1bbf524e73af341214610.tar drakwizard-339c34215d9c46f6ebd1bbf524e73af341214610.tar.gz drakwizard-339c34215d9c46f6ebd1bbf524e73af341214610.tar.bz2 drakwizard-339c34215d9c46f6ebd1bbf524e73af341214610.tar.xz drakwizard-339c34215d9c46f6ebd1bbf524e73af341214610.zip |
need to chomp result of mktemp
Diffstat (limited to 'dhcp_wizard/scripts')
-rw-r--r-- | dhcp_wizard/scripts/Dhcpconf.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dhcp_wizard/scripts/Dhcpconf.pm b/dhcp_wizard/scripts/Dhcpconf.pm index 1358c8fd..7d5cb290 100644 --- a/dhcp_wizard/scripts/Dhcpconf.pm +++ b/dhcp_wizard/scripts/Dhcpconf.pm @@ -57,6 +57,7 @@ sub do_it { } close(OLD); close(NEW); + chomp($tmp); system("mv $tmp $file"); } $file = "/etc/dhcpd.conf"; @@ -79,6 +80,7 @@ sub do_it { } close(OLD); close(NEW); + chomp($tmp); system("mv $tmp $file"); system("touch /var/dhcpd/dhcpd.leases") or die "can not touch /var/dhcpd/dhcd.leases: $!"; # modifying webmin config |