061ddf553e
unter event.d git-svn-id: svn://svn.compuextreme.de/Viitor/V962/Viitor_upstart@5503 504e572c-2e33-0410-9681-be2bf7408885
23 lines
442 B
Plaintext
23 lines
442 B
Plaintext
# rcS - runlevel compatibility
|
|
#
|
|
# This task runs the old sysv-rc startup scripts.
|
|
|
|
start on startup
|
|
|
|
#stop on runlevel
|
|
|
|
description "Check if / ist nfs"
|
|
author "Harald Kueller <harald.kueller@compuextreme.de>"
|
|
|
|
console output
|
|
script
|
|
mount -t proc none /proc
|
|
if mount|grep /dev/root|grep nfs &>/dev/null; then
|
|
/sbin/initctl emit varmake
|
|
else
|
|
umount /proc
|
|
mount -t tmpfs none /var/lock
|
|
/sbin/initctl emit start udev
|
|
fi
|
|
end script
|