diff options
author | Christian Breunig <christian@breunig.cc> | 2023-09-16 08:02:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-16 08:02:32 +0200 |
commit | 67339c8c3988bf6f075abda89b7b2cd0ef6a213c (patch) | |
tree | 87f94644890dea603a00097b5bfad330bce6ee9c /data/live-build-config/hooks/live/81-cleanup-etc-defaults.chroot | |
parent | 5f35b3354369dd8cf610d15bdb3554fdc8bdb866 (diff) | |
parent | 0be277647d8d4c5c30e1a5667889803987ce7b7a (diff) | |
download | vyos-build-67339c8c3988bf6f075abda89b7b2cd0ef6a213c.tar.gz vyos-build-67339c8c3988bf6f075abda89b7b2cd0ef6a213c.zip |
Merge pull request #413 from Apachez-/T5511
T5511: Cleanup of unused directories (and files) in order to shrink image-size
Diffstat (limited to 'data/live-build-config/hooks/live/81-cleanup-etc-defaults.chroot')
-rwxr-xr-x | data/live-build-config/hooks/live/81-cleanup-etc-defaults.chroot | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/data/live-build-config/hooks/live/81-cleanup-etc-defaults.chroot b/data/live-build-config/hooks/live/81-cleanup-etc-defaults.chroot index c93deee1..554f74d9 100755 --- a/data/live-build-config/hooks/live/81-cleanup-etc-defaults.chroot +++ b/data/live-build-config/hooks/live/81-cleanup-etc-defaults.chroot @@ -1,11 +1,14 @@ #!/bin/sh -# we use systemd to control ISC daemons from within vyos-1x -FILES="/etc/default/isc-dhcp-server /etc/default/isc-dhcp-relay" +# Made obsolete by T5511, use rootfs/excludes instead. +# +## 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 -for FILE in ${FILES} -do - if [ -f ${FILE} ]; then - rm -f ${FILE} - fi -done |