aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/linux_base-f9/pkg-deinstall
blob: 176d678141fc6860ae8bf70fe842d107797cfe84 (plain) (blame)
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 hand:"
        echo "  o  unmount linprocfs if mounted"
        echo "  o  delete ${PKG_PREFIX}/proc if present"
        echo "  o  remove/comment linprocfs from /etc/fstab if present"
        echo ""
    fi
    ;;
esac

exit 0