$ ls -l /etc/rc.local -rwxr-xr-x 1 root root 505 Aug 28 03:14 /etc/rc.local $ cat /etc/rc.local #!/bin/sh -e # # rc.local # # This script is executed at the end of each multiuser runlevel. # Make sure that the script will "exit 0" on success or any other # value on error. # # In order to enable or disable this script just change the execution # bits. # # By default this script does nothing. [ -x /usr/bin/numlockx ] && /usr/bin/numlockx on echo "`date`\tnumlock\t$?" >> rc.local.log 2>&1 [ -x /sbin/ethtool ] && /sbin/ethtool -s eth0 wol g echo "`date`\twol on\t$?" >> rc.local.log 2>&1 exit 0 $ cat /etc/rc.local.log $