summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2014-06-03 00:10:43 (EDT)
committer P. J. McDermott <pj@pehjota.net>2014-06-03 00:10:43 (EDT)
commit18e4ec6c8a9005b2c3431f4fa87f354c7961e730 (patch)
tree974e59d3d65dcee6a74212d048fcad1f13ea98c3
parentb7528821a105a755062b15af4b3c3bc72cf66870 (diff)
busybox.pkg/prerm: s/remove/upgrade/.
busybox is Essential, so it can't be removed. Also, don't disable services. Respect the user's configuration.
-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