1 2 3 4 5 6 7 8
#!/bin/sh # /etc/rc.local if test -d /etc/rc.local.d; then for rcscript in /etc/rc.local.d/*.sh; do test -r "${rcscript}" && sh ${rcscript} done unset rcscript fi