summaryrefslogtreecommitdiff
path: root/etc/init.d
diff options
context:
space:
mode:
authorgreg@kroah.com <greg@kroah.com>2005-01-19 22:04:54 -0800
committerGreg KH <gregkh@suse.de>2005-04-26 23:21:58 -0700
commit614238630687c6b7375f0adbc2692fcc0f3c7f9c (patch)
tree1c1e5b221a55a060a71c51ad06fae76620f8ebbb /etc/init.d
parent83e1f809c93c5d3770504e13ed06041af8252d20 (diff)
[PATCH] remove the lfs startup script on request of the author.
The distro now has its own version, so this one is not needed.
Diffstat (limited to 'etc/init.d')
-rw-r--r--etc/init.d/udev.init.lfs60
1 files changed, 0 insertions, 60 deletions
diff --git a/etc/init.d/udev.init.lfs b/etc/init.d/udev.init.lfs
deleted file mode 100644
index d4f64062b8..0000000000
--- a/etc/init.d/udev.init.lfs
+++ /dev/null
@@ -1,60 +0,0 @@
-#!/bin/sh
-#
-# LinuxFromScratch udev init script
-# derived from original RedHat udev init script
-# 2003, 2004 by Michael Buesch <mbuesch@freenet.de>
-#
-
-. /etc/sysconfig/rc
-. $rc_functions
-. /etc/udev/udev.conf
-
-sysfs_dir="/sys"
-
-case "$1" in
- start)
- echo "Creating initial udev device nodes ..."
- if [ ! -d $sysfs_dir ]; then
- echo "sysfs_dir $sysfs_dir does not exist!"
- print_status failure
- exit 1
- fi
- if [ ! -d $udev_root ]; then
- mkdir $udev_root
- if [ $? -ne 0 ]; then
- print_status failure
- exit 1
- fi
- fi
-
- # propogate /udev from /sys - we only need this while we do not
- # have initramfs and an early user-space with which to do early
- # device bring up
- udevstart
- evaluate_retval
- ;;
- stop)
- echo "Stopping udev ..."
- evaluate_retval
- ;;
- reload)
- # nothing to do here
- ;;
- restart)
- $0 stop
- sleep 1
- $0 start
- ;;
- status)
- if [ -d $udev_dir ]; then
- echo "the udev device node directory exists"
- else
- echo "the udev device node directory does not exist"
- fi
- ;;
- *)
- echo "Usage: $0 {start|stop|restart|status}"
- exit 1
- ;;
-esac
-exit 0