Commit e1f7e408 authored by Kirk Webb's avatar Kirk Webb

Fix startup script (hopefully).

parent 560a8d88
......@@ -10,7 +10,7 @@ then
exit 1
fi
apt-get -q update && apt-get -q -y install isc-dhcp-server || \
apt-get -q update && apt-get -q -y install --reinstall isc-dhcp-server || \
{ echo "Failed to install ISC DHCP server!" && exit 1; }
cp -f $MYWD/dhcpd.conf /etc/dhcp/dhcpd.conf || \
......@@ -31,16 +31,11 @@ fi
if [ ! -e /etc/init/isc-dhcp-server6.override ]
then
ed /etc/init/isc-dhcp-server6.override << SNIP2
a
manual
.
wq
SNIP2
echo "manual" > /etc/init/isc-dhcp-server6.override
fi
service isc-dhcp-server start
#apt-get -y install --reinstall avahi-daemon
apt-get -y install --reinstall avahi-daemon
exit $?
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment