# rc - System V runlevel compatibility | |
# | |
# This task runs the old System V-style rc script when changing between | |
# runlevels. | |
description "System V runlevel compatibility" | |
author "Scott James Remnant <scott@netsplit.com>" | |
start on runlevel [0123456] | |
stop on runlevel [!$RUNLEVEL] | |
export RUNLEVEL | |
export PREVLEVEL | |
task | |
exec /etc/init.d/rc $RUNLEVEL |