#!/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