summaryrefslogtreecommitdiffstats
path: root/dhcp_wizard/scripts/Dhcpconf.pm
diff options
context:
space:
mode:
authorArnaud Desmons <adesmons@mandriva.com>2002-08-26 11:00:46 +0000
committerArnaud Desmons <adesmons@mandriva.com>2002-08-26 11:00:46 +0000
commit5f71408bd0c50815eb4559444ab3724efdd75f19 (patch)
treec625076e9caa964cfe5a926fd5bcdacafb4add89 /dhcp_wizard/scripts/Dhcpconf.pm
parent84a8d1757e7bb25c375ae5398a653a928f2b0371 (diff)
downloaddrakwizard-5f71408bd0c50815eb4559444ab3724efdd75f19.tar
drakwizard-5f71408bd0c50815eb4559444ab3724efdd75f19.tar.gz
drakwizard-5f71408bd0c50815eb4559444ab3724efdd75f19.tar.bz2
drakwizard-5f71408bd0c50815eb4559444ab3724efdd75f19.tar.xz
drakwizard-5f71408bd0c50815eb4559444ab3724efdd75f19.zip
s/system touch/MDK::Common::touch/
Diffstat (limited to 'dhcp_wizard/scripts/Dhcpconf.pm')
-rw-r--r--dhcp_wizard/scripts/Dhcpconf.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/dhcp_wizard/scripts/Dhcpconf.pm b/dhcp_wizard/scripts/Dhcpconf.pm
index 3f88e414..6fe5045f 100644
--- a/dhcp_wizard/scripts/Dhcpconf.pm
+++ b/dhcp_wizard/scripts/Dhcpconf.pm
@@ -81,7 +81,7 @@ sub do_it {
} cat_ ("__WIZ_HOME__/dhcp_wizard/scripts/dhcpd.conf.default"));
standalone::explanations("$file: hname = $wiz_host_name, net = $wiz_ip_net, ip = $wiz_ip_server,
mask = $wiz_ip_netmask, rng1 = $wiz_ip_range1, rng2 = $wiz_ip_range2, dname = $wiz_domain_name");
- system("touch /var/dhcpd/dhcpd.leases") or die "can not touch /var/dhcpd/dhcd.leases: $!";
+ MDK::Common::touch("/var/dhcpd/dhcpd.leases");
# modifying webmin config
$file="/etc/webmin/dhcpd/config";
if (-f $file) {