summaryrefslogtreecommitdiffstats
path: root/emulators/linux_base-f10/pkg-deinstall
blob: ad1a3ef752166d4c0897d33f602af09f6dcb3ed8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh
# a deinstallation script for linux_base

case "$2" in
DEINSTALL)
	if [ -n "`mount | grep ^linproc`" ] || \
		[ -d /compat/linux/proc ]; then
		echo ""
		echo "You may need to do by hands:"
		echo "  o  unmount linprocfs;"
		echo "  o  delete ${PKG_PREFIX}/proc;"
		echo "  o  remove the description of linprocfs from /etc/fstab."
		echo ""
	fi
	;;
esac

exit 0
OpenPOWER on IntegriCloud