http://askubuntu.com/questions/9853/how-can-i-make-rc-local-run-on-startup
Can you run your script manually? If not, it's a problem with that script; otherwise look more at rc.local. (If that script needs to run as root, you need use sudo to manually run it.)
Make sure /etc/rc.local is executable and that the script it calls is also executable.
$ ls -l /etc/rc.local
-rwxr-xr-x 1 root root 419 2010-08-27 11:26 /etc/rc.local
Make sure rc.local has a shebang line (which is the default):
$ head -n1 /etc/rc.local
#!/bin/sh -e
'Unix/Linux' 카테고리의 다른 글
resolv.conf (0) | 2013.02.25 |
---|---|
(awk) sum (0) | 2013.02.22 |
CentOS: eth0 not starting on boot (0) | 2013.02.19 |
농협 서버 해킹에 사용된 Unix-Linux의 dd 명령어는 무엇인가... (0) | 2013.01.08 |
rsync를 이용한 백업 (0) | 2012.12.04 |