summaryrefslogtreecommitdiff
path: root/initscripts/initscripts-1.0/umountnfs.sh
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2004-12-09 09:47:41 +0000
committerChris Larson <clarson@kergoth.com>2004-12-09 09:47:41 +0000
commit2c5b8ec6d95cf68650265941530e5ce38c8dd6d9 (patch)
treebf879bea7ef8517ba8c3d1286ef300401d3d484c /initscripts/initscripts-1.0/umountnfs.sh
parent101e2f1623def0a355d20aacb8bd93810703e834 (diff)
Merge oe-devel@oe-devel.bkbits.net:openembedded
into hyperion.kergoth.com:/home/kergoth/code/openembedded 2004/12/09 03:39:39-06:00 kergoth.com!kergoth Break people's builds again.. this time moving the packages into a packages/ subdir to clean things up a bit. BKrev: 41b81f3dvlp3rU7_8MUXLcI8LDdDoA
Diffstat (limited to 'initscripts/initscripts-1.0/umountnfs.sh')
-rw-r--r--initscripts/initscripts-1.0/umountnfs.sh28
1 files changed, 0 insertions, 28 deletions
diff --git a/initscripts/initscripts-1.0/umountnfs.sh b/initscripts/initscripts-1.0/umountnfs.sh
deleted file mode 100644
index f5fe48aa74..0000000000
--- a/initscripts/initscripts-1.0/umountnfs.sh
+++ /dev/null
@@ -1,28 +0,0 @@
-#! /bin/sh
-#
-# umountnfs.sh Unmount all network filesystems.
-#
-
-PATH=/sbin:/bin:/usr/sbin:/usr/bin
-
-# Write a reboot record to /var/log/wtmp before unmounting
-halt -w
-
-echo "Unmounting remote filesystems..."
-
-test -f /etc/fstab && (
-
-#
-# Read through fstab line by line and unount network file systems
-#
-while read device mountpt fstype options
-do
- if test "$fstype" = nfs || test "$fstype" = smbfs || test "$fstype" = ncpfs
- then
- umount -f $mountpt
- fi
-done
-) < /etc/fstab
-
-: exit 0
-