annotate etc/rc.local @ 27:0ebdfdce973f

Fix to pick up SWISH styling properly.
author samer
date Sat, 14 Feb 2015 16:54:27 +0000
parents 7d34f4b6df69
children
rev   line source
samer@0 1 #!/bin/sh -e
samer@0 2 #
samer@0 3 # rc.local
samer@0 4 #
samer@0 5 # This script is executed at the end of each multiuser runlevel.
samer@0 6 # Make sure that the script will "exit 0" on success or any other
samer@0 7 # value on error.
samer@0 8 #
samer@0 9 # In order to enable or disable this script just change the execution
samer@0 10 # bits.
samer@0 11 #
samer@0 12 if [ -x ~dml/.boot ]; then
samer@0 13 echo "Executing boot script for user dml"
samer@0 14 sudo -u dml mkdir -p ~dml/var/log
samer@0 15 sudo -u dml -H bash -l -c '~/.boot >> ~/var/log/boot.log'
samer@0 16 fi
samer@0 17 exit 0