M7350/oe-core/meta-msm/recipes/busybox/files/prerm

11 lines
257 B
Plaintext
Raw Normal View History

2024-09-09 08:52:07 +00:00
#!/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