diff options
author | Casey Dahlin <cdahlin@redhat.com> | 2008-07-23 09:48:23 -0400 |
---|---|---|
committer | Casey Dahlin <cdahlin@redhat.com> | 2008-07-23 09:48:23 -0400 |
commit | 01fecfecdb440d81435690c63d28909c5edd34de (patch) | |
tree | 0700ba7f0da1a17e974ad77826f8011b7e77443f /jobs.d/rc-multiuser | |
parent | 51f5d4923f3ab0025708df3d20efd45fe5437e92 (diff) | |
download | initscripts-master.tar.gz initscripts-master.tar.xz initscripts-master.zip |
New job definitions, in a new location, in a new format
Diffstat (limited to 'jobs.d/rc-multiuser')
-rw-r--r-- | jobs.d/rc-multiuser | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/jobs.d/rc-multiuser b/jobs.d/rc-multiuser new file mode 100644 index 00000000..a6d13e56 --- /dev/null +++ b/jobs.d/rc-multiuser @@ -0,0 +1,19 @@ +# rc-multiuser - multiuser runlevel compatibility +# +# This task runs the old sysv-rc runlevel 2+ ("multi-user") scripts. It +# is usually started by the telinit compatibility wrapper. + +start on runlevel [2345] +stop on runlevel +task + +export PREVLEVEL +export RUNLEVEL + +console output +script + runlevel --set $RUNLEVEL || true + export PREVLEVEL RUNLEVEL + + exec /etc/rc.d/rc $RUNLELVEL +end script |