7b7f6e837b
git-svn-id: svn://svn.compuextreme.de/Viitor/V961/Viitor_upstart@4329 504e572c-2e33-0410-9681-be2bf7408885
28 lines
553 B
Plaintext
28 lines
553 B
Plaintext
# rc - runlevel compatibility
|
|
#
|
|
# This task guesses what the "default runlevel" should be and starts the
|
|
# appropriate script.
|
|
|
|
start on started mountfs
|
|
stop on stopping mountfs
|
|
|
|
pre-start script
|
|
source /etc/udev/udev.conf
|
|
prog=udev
|
|
sysfs_dir=/sys
|
|
bin=/sbin/udev
|
|
udevd=/sbin/udevd
|
|
udev_root=/dev
|
|
if [ ! -d $sysfs_dir/block ]; then
|
|
exit 1
|
|
fi
|
|
export ACTION=add
|
|
touch /var/lock/subsys/udev
|
|
end script
|
|
|
|
exec /sbin/udevd
|
|
|
|
post-stop script
|
|
rm /var/lock/subsys/udev
|
|
end script
|