summaryrefslogblamecommitdiff
path: root/system/busybox/busybox-extras.pre-deinstall
blob: 15461302ce5b84a5bb0709d05d4987764e8b5ab8 (plain) (tree)
1
2
3
4
5
6
7
8
9



                                       
                                               



                                                                                  
#!/bin/sh

# Remove all symlinks to busybox-extras
cd /
for link in $(busybox-extras --list --full); do
	if [ -L "$link" ] && [ "$(readlink $link)" = "/bin/busybox-extras" ]; then
		rm "$link"
	fi
done