diff options
author | trevor <trevor@FreeBSD.org> | 2004-02-09 05:49:37 +0800 |
---|---|---|
committer | trevor <trevor@FreeBSD.org> | 2004-02-09 05:49:37 +0800 |
commit | e3345a91e9ac683db39c1f8673e74150984932f3 (patch) | |
tree | c9f1ea97765c28f0ca28001770570aa7f28bcbbb /emulators | |
parent | 5336211d6f501a4449bf3686ff498afc78739784 (diff) | |
download | freebsd-ports-graphics-e3345a91e9ac683db39c1f8673e74150984932f3.tar.gz freebsd-ports-graphics-e3345a91e9ac683db39c1f8673e74150984932f3.tar.zst freebsd-ports-graphics-e3345a91e9ac683db39c1f8673e74150984932f3.zip |
Try to mount and unmount both linproc and linprocfs: the former
is documented in linprocfs(5) but I have seen and used the latter.
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/linux_base-8/pkg-install | 12 | ||||
-rw-r--r-- | emulators/linux_base-rh-9/pkg-install | 12 | ||||
-rw-r--r-- | emulators/linux_base-suse-9.1/pkg-install | 12 | ||||
-rw-r--r-- | emulators/linux_base-suse-9.2/pkg-install | 12 | ||||
-rw-r--r-- | emulators/linux_base-suse-9.3/pkg-install | 12 |
5 files changed, 60 insertions, 0 deletions
diff --git a/emulators/linux_base-8/pkg-install b/emulators/linux_base-8/pkg-install index 2d569a73928..b4d717c7291 100644 --- a/emulators/linux_base-8/pkg-install +++ b/emulators/linux_base-8/pkg-install @@ -16,18 +16,30 @@ PRE-INSTALL) echo 'Un-mounting linprocfs...' umount linprocfs fi + if [ -n "`mount | grep -w ^linproc`" ]; then + echo 'Un-mounting linproc...' + umount linproc + fi ;; POST-INSTALL) if [ -n "`grep -w ^linprocfs /etc/fstab`" ]; then echo 'Re-mounting linprocfs...' mount linprocfs fi + if [ -n "`grep -w ^linprocfs /etc/fstab`" ]; then + echo 'Re-mounting linproc...' + mount linproc + fi ;; 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 diff --git a/emulators/linux_base-rh-9/pkg-install b/emulators/linux_base-rh-9/pkg-install index 2d569a73928..b4d717c7291 100644 --- a/emulators/linux_base-rh-9/pkg-install +++ b/emulators/linux_base-rh-9/pkg-install @@ -16,18 +16,30 @@ PRE-INSTALL) echo 'Un-mounting linprocfs...' umount linprocfs fi + if [ -n "`mount | grep -w ^linproc`" ]; then + echo 'Un-mounting linproc...' + umount linproc + fi ;; POST-INSTALL) if [ -n "`grep -w ^linprocfs /etc/fstab`" ]; then echo 'Re-mounting linprocfs...' mount linprocfs fi + if [ -n "`grep -w ^linprocfs /etc/fstab`" ]; then + echo 'Re-mounting linproc...' + mount linproc + fi ;; 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 diff --git a/emulators/linux_base-suse-9.1/pkg-install b/emulators/linux_base-suse-9.1/pkg-install index 2d569a73928..b4d717c7291 100644 --- a/emulators/linux_base-suse-9.1/pkg-install +++ b/emulators/linux_base-suse-9.1/pkg-install @@ -16,18 +16,30 @@ PRE-INSTALL) echo 'Un-mounting linprocfs...' umount linprocfs fi + if [ -n "`mount | grep -w ^linproc`" ]; then + echo 'Un-mounting linproc...' + umount linproc + fi ;; POST-INSTALL) if [ -n "`grep -w ^linprocfs /etc/fstab`" ]; then echo 'Re-mounting linprocfs...' mount linprocfs fi + if [ -n "`grep -w ^linprocfs /etc/fstab`" ]; then + echo 'Re-mounting linproc...' + mount linproc + fi ;; 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 diff --git a/emulators/linux_base-suse-9.2/pkg-install b/emulators/linux_base-suse-9.2/pkg-install index 2d569a73928..b4d717c7291 100644 --- a/emulators/linux_base-suse-9.2/pkg-install +++ b/emulators/linux_base-suse-9.2/pkg-install @@ -16,18 +16,30 @@ PRE-INSTALL) echo 'Un-mounting linprocfs...' umount linprocfs fi + if [ -n "`mount | grep -w ^linproc`" ]; then + echo 'Un-mounting linproc...' + umount linproc + fi ;; POST-INSTALL) if [ -n "`grep -w ^linprocfs /etc/fstab`" ]; then echo 'Re-mounting linprocfs...' mount linprocfs fi + if [ -n "`grep -w ^linprocfs /etc/fstab`" ]; then + echo 'Re-mounting linproc...' + mount linproc + fi ;; 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 diff --git a/emulators/linux_base-suse-9.3/pkg-install b/emulators/linux_base-suse-9.3/pkg-install index 2d569a73928..b4d717c7291 100644 --- a/emulators/linux_base-suse-9.3/pkg-install +++ b/emulators/linux_base-suse-9.3/pkg-install @@ -16,18 +16,30 @@ PRE-INSTALL) echo 'Un-mounting linprocfs...' umount linprocfs fi + if [ -n "`mount | grep -w ^linproc`" ]; then + echo 'Un-mounting linproc...' + umount linproc + fi ;; POST-INSTALL) if [ -n "`grep -w ^linprocfs /etc/fstab`" ]; then echo 'Re-mounting linprocfs...' mount linprocfs fi + if [ -n "`grep -w ^linprocfs /etc/fstab`" ]; then + echo 'Re-mounting linproc...' + mount linproc + fi ;; 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 |