![kueller](/assets/img/avatar_default.png)
git-svn-id: svn://svn.compuextreme.de/Viitor/V962/Viitor_upstart@5505 504e572c-2e33-0410-9681-be2bf7408885
25 lines
608 B
Plaintext
25 lines
608 B
Plaintext
# rcS - runlevel compatibility
|
|
#
|
|
# This task runs the old sysv-rc startup scripts.
|
|
|
|
start on stopped udevstart
|
|
|
|
#stop on runlevel
|
|
|
|
console logged
|
|
|
|
# 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.
|
|
pre-start script
|
|
source /etc/event.d/functions
|
|
/sbin/ifconfig lo 127.0.0.1
|
|
status_message "Setup local net..."
|
|
end script
|
|
|
|
post-stop script
|
|
source /etc/event.d/functions
|
|
/sbin/ifconfig lo down
|
|
status_message "Remove Local Net..."
|
|
end script
|