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

case "$2" in
DEINSTALL)
    if [ -n "`mount | grep -w ^linprocfs`" ]; then
        echo 'Un-mounting linprocfs...'
        umount linprocfs
    fi
    if [ -n "`mount | grep -w ^linproc`" ]; then
        echo 'Un-mounting linproc...'
        umount linproc
    fi
    ;;
esac

exit 0