Adding hook to disable isc-dhcp-server in rescue image.
authorDaniel Baumann <daniel@debian.org>
Fri, 8 Feb 2013 20:58:06 +0000 (21:58 +0100)
committerDaniel Baumann <daniel@debian.org>
Fri, 8 Feb 2013 20:58:06 +0000 (21:58 +0100)
images/rescue/config/hooks/0001-disable-isc-dhcp-server [new file with mode: 0755]

diff --git a/images/rescue/config/hooks/0001-disable-isc-dhcp-server b/images/rescue/config/hooks/0001-disable-isc-dhcp-server
new file mode 100755 (executable)
index 0000000..c64e45f
--- /dev/null
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+set -e
+
+# Disabling dhcp-server
+update-rc.d -f isc-dhcp-server disable