hooks: drop isc-dhcp helper files from /etc/default

This commit is contained in:
Christian Poessinger 2020-12-06 20:29:03 +01:00
parent 5bd60a745d
commit 04b14e52b7

View File

@ -0,0 +1,11 @@
#!/bin/sh
# we use systemd to control ISC daemons from within vyos-1x
FILES="/etc/default/isc-dhcp-server /etc/default/isc-dhcp-relay"
for FILE in ${FILES}
do
if [ -f ${FILE} ]; then
rm -f ${FILE}
fi
done