added nellboard post routines (not yet completed!)
[outofuni/dib.git] / post_routines / nellboard / dnsmasq
diff --git a/post_routines/nellboard/dnsmasq b/post_routines/nellboard/dnsmasq
new file mode 100644 (file)
index 0000000..ee96468
--- /dev/null
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+cat > /etc/dnsmasq.conf << EOF
+port=0
+no-resolv
+no-poll
+interface=usb0
+dhcp-range=172.17.17.5,172.17.17.10,12h
+dhcp-host=00:03:23:23:23:23,172.17.17.16
+dhcp-option=3
+EOF
+