]>
Commit | Line | Data |
---|---|---|
3f2e803a JK |
1 | description "rc - System V runlevel compatibility\ |
2 | \ | |
3 | This task runs the old sysv-rc runlevel scripts. It \ | |
4 | is usually started by the telinit compatibility wrapper." | |
5 | ||
6 | start on runlevel [0123456] | |
7 | stop on runlevel [!$RUNLEVEL] | |
8 | ||
9 | emits shutdown | |
10 | ||
d8106480 JK |
11 | # rc.shutdown |
12 | emits pld.shutdown-started | |
13 | ||
14 | # /etc/rc.d/init.d/network | |
15 | emits pld.network-starting | |
16 | emits pld.network-started | |
17 | emits pld.network-stopping | |
18 | emits pld.network-stopped | |
19 | ||
3f2e803a JK |
20 | task |
21 | ||
22 | export RUNLEVEL | |
23 | console output | |
24 | exec /etc/rc.d/rc $RUNLEVEL |