udevstart und udevtrigger werden nicht mehr benötigt. macht der neue
udev mittels udevctrl in post-start... git-svn-id: svn://svn.compuextreme.de/Viitor/V962/Viitor_upstart@5581 504e572c-2e33-0410-9681-be2bf7408885
This commit is contained in:
parent
6d80c6485f
commit
1b216a3c5f
|
@ -1,39 +0,0 @@
|
|||
# rcS - runlevel compatibility
|
||||
#
|
||||
# This task runs the old sysv-rc startup scripts.
|
||||
|
||||
start on start udev
|
||||
|
||||
#stop on runlevel
|
||||
|
||||
# Note: there can be no previous runlevel here, if we have one it's bad
|
||||
# information (we enter rc1 not rcS for maintenance). Run /etc/init.d/rc
|
||||
# without information so that it defaults to previous=N runlevel=S.
|
||||
console output
|
||||
script
|
||||
if [ -f /sbin/udevstart ]; then
|
||||
. /etc/event.d/functions
|
||||
. /etc/udev/udev.conf
|
||||
prog=udev
|
||||
sysfs_dir=/sys
|
||||
bin=/lib/udev
|
||||
udevd=/sbin/udevd
|
||||
udev_root=/dev
|
||||
echo "Bringing udev system up"
|
||||
mount -t sysfs none /sys
|
||||
status_message "mount of sys..."
|
||||
if [ ! -d /var/lock/subsys ]; then
|
||||
mkdir /var/lock/subsys
|
||||
fi
|
||||
if [ ! -d $udev_root ]; then
|
||||
mkdir $udev_root
|
||||
fi
|
||||
status_message "Creation ov /var/lock..."
|
||||
mount -t tmpfs none /dev
|
||||
status_message "Mounting tmpfs to /dev..."
|
||||
export ACTION=add
|
||||
echo -n "Creating initial udev device nodes"
|
||||
/sbin/udevstart
|
||||
mkdir /dev/pts
|
||||
fi
|
||||
end script
|
|
@ -1,8 +0,0 @@
|
|||
# rc - runlevel compatibility
|
||||
#
|
||||
# This task guesses what the "default runlevel" should be and starts the
|
||||
# appropriate script.
|
||||
|
||||
start on started udev
|
||||
|
||||
exec /sbin/udevtrigger
|
Loading…
Reference in New Issue
Block a user