From 8ffc30fdcada2173caecdf1ddc196783ba615f19 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Thu, 20 Mar 2008 21:29:58 +0000 Subject: [PATCH] Be less paranoid about backing up dhcpd.conf files git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@862 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server-2.0/lib/xcat/plugins/dhcp.pm | 3 --- 1 file changed, 3 deletions(-) diff --git a/xCAT-server-2.0/lib/xcat/plugins/dhcp.pm b/xCAT-server-2.0/lib/xcat/plugins/dhcp.pm index b7b2886cd..2204f5d3e 100644 --- a/xCAT-server-2.0/lib/xcat/plugins/dhcp.pm +++ b/xCAT-server-2.0/lib/xcat/plugins/dhcp.pm @@ -230,9 +230,6 @@ sub process_request { if (grep /-n/,@{$req->{arg}}) { if (-e "/etc/dhcpd.conf") { my $bakname = "/etc/dhcpd.conf.xcatbak"; - while (-e $bakname) { #look for unused backup name.. - $bakname .= "~"; - } rename("/etc/dhcpd.conf",$bakname); } } else {