Comment 5 for bug 915215

Revision history for this message
Scott Moser (smoser) wrote :

just for reference, but I think i'm not going to use it, here is an upstart job for rc.local.d scripts:

# rc-local-d - run scripts in /etc/rc.local.d in run-parts fashion
# after /etc/rc.local has finished
#
# This extends traditional rc.local to support run-parts

description "run scripts in /etc/rc.local.d at traditional rc.local timeframe"
author "Scott Moser <email address hidden>"

start on stopped rc RUNLEVEL=[2345]
stop on runlevel [016]

console output
task
script
   command -v run-parts >/dev/null || exit 0
   [ -d /etc/rc.local.d ] || exit 0
   exec run-parts /etc/rc.local.d
end script