Fix Makefile for new semantics of S/K symlinks

In runlevel 0/6, services which must be stopped should be
with Kxx symlinks
This commit is contained in:
Pierre Labastie 2022-03-22 11:33:31 +01:00
parent 887af775a5
commit 3b20f597b2

View File

@ -88,10 +88,10 @@ rcS: files
rc0: files rc0: files
ln -sf ../init.d/network ${ETCDIR}/rc.d/rc0.d/K80network ln -sf ../init.d/network ${ETCDIR}/rc.d/rc0.d/K80network
ln -sf ../init.d/sysklogd ${ETCDIR}/rc.d/rc0.d/K90sysklogd ln -sf ../init.d/sysklogd ${ETCDIR}/rc.d/rc0.d/K90sysklogd
ln -sf ../init.d/sendsignals ${ETCDIR}/rc.d/rc0.d/S60sendsignals ln -sf ../init.d/sendsignals ${ETCDIR}/rc.d/rc0.d/K92sendsignals
ln -sf ../init.d/swap ${ETCDIR}/rc.d/rc0.d/S65swap ln -sf ../init.d/swap ${ETCDIR}/rc.d/rc0.d/K94swap
ln -sf ../init.d/mountfs ${ETCDIR}/rc.d/rc0.d/S70mountfs ln -sf ../init.d/mountfs ${ETCDIR}/rc.d/rc0.d/K96mountfs
ln -sf ../init.d/localnet ${ETCDIR}/rc.d/rc0.d/S90localnet ln -sf ../init.d/localnet ${ETCDIR}/rc.d/rc0.d/K98localnet
ln -sf ../init.d/halt ${ETCDIR}/rc.d/rc0.d/S99halt ln -sf ../init.d/halt ${ETCDIR}/rc.d/rc0.d/S99halt
rc1: files rc1: files
@ -117,10 +117,10 @@ rc5: files
rc6: files rc6: files
ln -sf ../init.d/network ${ETCDIR}/rc.d/rc6.d/K80network ln -sf ../init.d/network ${ETCDIR}/rc.d/rc6.d/K80network
ln -sf ../init.d/sysklogd ${ETCDIR}/rc.d/rc6.d/K90sysklogd ln -sf ../init.d/sysklogd ${ETCDIR}/rc.d/rc6.d/K90sysklogd
ln -sf ../init.d/sendsignals ${ETCDIR}/rc.d/rc6.d/S60sendsignals ln -sf ../init.d/sendsignals ${ETCDIR}/rc.d/rc0.d/K92sendsignals
ln -sf ../init.d/swap ${ETCDIR}/rc.d/rc6.d/S65swap ln -sf ../init.d/swap ${ETCDIR}/rc.d/rc0.d/K94swap
ln -sf ../init.d/mountfs ${ETCDIR}/rc.d/rc6.d/S70mountfs ln -sf ../init.d/mountfs ${ETCDIR}/rc.d/rc0.d/K96mountfs
ln -sf ../init.d/localnet ${ETCDIR}/rc.d/rc6.d/S90localnet ln -sf ../init.d/localnet ${ETCDIR}/rc.d/rc0.d/K98localnet
ln -sf ../init.d/reboot ${ETCDIR}/rc.d/rc6.d/S99reboot ln -sf ../init.d/reboot ${ETCDIR}/rc.d/rc6.d/S99reboot
uninstall: uninstall: