From ed006a8eb44831189e152826c692330d0a0cfe3b Mon Sep 17 00:00:00 2001 From: Manuel Traut Date: Mon, 18 Jul 2011 14:00:12 +0200 Subject: delete beagle-dir Signed-off-by: Manuel Traut --- beagle/debian-rfs/etc/init.d/umountnfs.sh | 108 ------------------------------ 1 file changed, 108 deletions(-) delete mode 100755 beagle/debian-rfs/etc/init.d/umountnfs.sh (limited to 'beagle/debian-rfs/etc/init.d/umountnfs.sh') diff --git a/beagle/debian-rfs/etc/init.d/umountnfs.sh b/beagle/debian-rfs/etc/init.d/umountnfs.sh deleted file mode 100755 index 55fa96f..0000000 --- a/beagle/debian-rfs/etc/init.d/umountnfs.sh +++ /dev/null @@ -1,108 +0,0 @@ -#! /bin/sh -### BEGIN INIT INFO -# Provides: umountnfs -# Required-Start: -# Required-Stop: umountfs -# Should-Stop: $network $portmap nfs-common -# Default-Start: -# Default-Stop: 0 6 -# Short-Description: Unmount all network filesystems except the root fs. -# Description: Also unmounts all virtual filesystems (proc, -# devpts, usbfs, sysfs) that are not mounted at the -# top level. -### END INIT INFO - -PATH=/sbin:/usr/sbin:/bin:/usr/bin -KERNEL="$(uname -s)" -RELEASE="$(uname -r)" -. /lib/init/vars.sh - -. /lib/lsb/init-functions - -case "${KERNEL}:${RELEASE}" in - Linux:[01].*|Linux:2.[01].*) - FLAGS="" - ;; - Linux:2.[23].*|Linux:2.4.?|Linux:2.4.?-*|Linux:2.4.10|Linux:2.4.10-*) - FLAGS="-f" - ;; - *) - FLAGS="-f -l" - ;; -esac - -do_stop () { - # Write a reboot record to /var/log/wtmp before unmounting - halt -w - - # Remove bootclean flag files (precaution against symlink attacks) - rm -f /tmp/.clean /var/lock/.clean /var/run/.clean - - # - # Make list of points to unmount in reverse order of their creation - # - - exec 9<&0 &2 - exit 3 - ;; - stop|"") - do_stop - ;; - *) - echo "Usage: umountnfs.sh [start|stop]" >&2 - exit 3 - ;; -esac - -: -- cgit v1.2.3