summaryrefslogtreecommitdiff
path: root/busybox/busybox-1.00-rc2/prerm
blob: 7ade4b1dec90ae220befcb0f94435d0c0235f6e4 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

if [ "$1" != "upgrade" ]; then
  update-alternatives --remove sh /bin/busybox
  update-alternatives --remove vi /bin/busybox
  find /etc -name [SK][0-9][0-9]hwclock.sh | xargs rm -f
  find /etc -name [SK][0-9][0-9]syslog | xargs rm -f
fi

exit 0