aboutsummaryrefslogtreecommitdiffstats
path: root/main/busybox/busybox.post-upgrade
blob: 268f22d4080095cbce633dfc1c3074ee7a6bf054 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

# remove links that has been relocated
for link in /bin/install /bin/ip /bin/vi /usr/bin/lspci; do
	if [ -L "$link" ] && [ "$(readlink $link)" = "/bin/busybox" ]; then
		rm "$link"
	fi
done

# We need the symlinks early
exec /bin/busybox --install -s