removed exit on fail "sh -e" for dhclient-script
authorSeewer Philippe <philippe.seewer@bfh.ch>
Thu, 18 Jun 2009 13:35:00 +0000 (15:35 +0200)
committerHarald Hoyer <harald@redhat.com>
Thu, 18 Jun 2009 13:35:00 +0000 (15:35 +0200)
The Bug causing dhclient to recall BIND has been identified:
dhclient-script runs with #!/bin/sh -e, causing setup_interface
to fail if no hostname is provided by dhcp as it is the last statement
in that function.

modules.d/40network/dhclient-script

index 4153eb8..f662828 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/sh -e
+#!/bin/sh 
 
 setup_interface() {
     ip=$new_ip_address