mirror of
https://github.com/vyos/vyos-build.git
synced 2025-10-01 20:28:40 +02:00
hooks: drop isc-dhcp helper files from /etc/default
This commit is contained in:
parent
5bd60a745d
commit
04b14e52b7
11
data/live-build-config/hooks/live/81-cleanup-etc-defaults.chroot
Executable file
11
data/live-build-config/hooks/live/81-cleanup-etc-defaults.chroot
Executable 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
|
||||
Loading…
x
Reference in New Issue
Block a user