mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-14 21:56:41 +01:00
078eb2ab0f
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
30 lines
825 B
Text
30 lines
825 B
Text
"removepkg daemontools" leaves some stuff behind.
|
|
This is partly because removepkg skips removal of dangling symbolic
|
|
links, and partly because doinst.sh does stuff that removepkg
|
|
can't be aware of.
|
|
|
|
BEFORE DOING REMOVEPKG: remove this line from /etc/inittab:
|
|
|
|
SV:123456:respawn:/command/svscanboot
|
|
|
|
since this will fail repeatedly after the next reboot or telinit.
|
|
Then enter:
|
|
|
|
telinit q
|
|
|
|
to stop the svscanboot service.
|
|
|
|
AFTERWARDS:
|
|
|
|
rm -r /package # (has symlinks)
|
|
rmdir /service # (or rm -r if you configured services)
|
|
|
|
cd /usr/bin
|
|
for i in $(ls -lL 2>&1 | grep -E '^l\?\?' | rev | cut -f1 -d' ' |
|
|
rev); do rm -v $i; done
|
|
|
|
---------------------------
|
|
|
|
If you built daemontools without EDIT_INITTAB=yes, you need to insert the SV
|
|
line above into /etc/inittab. Having done that, "telinit q" will start
|
|
the service.
|