blob: 160a2d777c45be1910441e4afb0fd39b0af0a6d9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#!/bin/sh
if [ "x${1}" = 'xupgrade' ]; then
if [ -f /usr/share/busybox/init-scripts ]; then
for script in $(cat /usr/share/busybox/init-scripts); do
"/etc/init.d/${script}" stop
done
fi
while read link name prio; do
update-alternatives --remove "${name}" "${link}.busybox"
done </usr/share/busybox/alternatives
fi
|