diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-08-08 22:12:24 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-08-08 22:12:24 +0200 |
commit | 976062ed2981033272847c3ee910848df5774f69 (patch) | |
tree | 99350325a9672842d3a8ba4ba3c5287ccd33150b /debian/vyos-1x.postinst | |
parent | 495b18c351edbe8512b222ddf58f166d782f3b27 (diff) | |
download | vyos-1x-976062ed2981033272847c3ee910848df5774f69.tar.gz vyos-1x-976062ed2981033272847c3ee910848df5774f69.zip |
Debian: T3641: drop dead symlink file in /etc/init.d
Diffstat (limited to 'debian/vyos-1x.postinst')
-rw-r--r-- | debian/vyos-1x.postinst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/debian/vyos-1x.postinst b/debian/vyos-1x.postinst index a17fe351c..4b4c4c13e 100644 --- a/debian/vyos-1x.postinst +++ b/debian/vyos-1x.postinst @@ -76,3 +76,10 @@ if [ ! -x $POSTCONFIG_SCRIPT ]; then EOF fi +# symlink destination is deleted during ISO assembly - this generates some noise +# when the system boots: systemd-sysv-generator[1881]: stat() failed on +# /etc/init.d/README, ignoring: No such file or directory. Thus we simply drop +# the file. +if [ -L /etc/init.d/README ]; then + rm -f /etc/init.d/README +fi |