summaryrefslogtreecommitdiffstats
path: root/busybox.pkg
diff options
context:
space:
mode:
Diffstat (limited to 'busybox.pkg')
-rwxr-xr-xbusybox.pkg/prerm3
1 files changed, 1 insertions, 2 deletions
diff --git a/busybox.pkg/prerm b/busybox.pkg/prerm
index 9734cd7..a726c63 100755
--- a/busybox.pkg/prerm
+++ b/busybox.pkg/prerm
@@ -1,10 +1,9 @@
#!/bin/sh
-if [ "x${1}" = 'xremove' ]; then
+if [ "x${1}" = 'xupgrade' ]; then
if [ -e /usr/share/busybox/init-scripts ]; then
while read script; do
"/etc/init.d/${script}" stop
- "/etc/init.d/${script}" disable
done </usr/share/busybox/init-scripts
fi
while read link name prio; do