diff options
Diffstat (limited to 'meta/packages/busybox/files/prerm')
-rw-r--r-- | meta/packages/busybox/files/prerm | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/meta/packages/busybox/files/prerm b/meta/packages/busybox/files/prerm new file mode 100644 index 0000000..7ade4b1 --- /dev/null +++ b/meta/packages/busybox/files/prerm @@ -0,0 +1,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 |