script not run after reboot from /etc/rc3.d
Posted
by
yael
on Server Fault
See other posts from Server Fault
or by yael
Published on 2012-08-30T13:52:17Z
Indexed on
2012/08/30
15:40 UTC
Read the original article
Hit count: 379
I create symbolic link to the file - /etc/rc3.d/platform.bash from /var/tmp/platform.bash
ln -s /var/tmp/platform.bash /etc/rc3.d/platform.bash
script exist under /var/tmp :
-rwxr-xr-x 1 root root 58442 Aug 30 08:49 platform.bash
view from /etc/rc3.d :
lrwxrwxrwx 1 root root 31 Aug 30 06:33 S99platform.bash -> /var/tmp/platform.bash
my target is to run platform.bash after reboot ( on solaris 10 OS )
from some reason the script platform.bash not run after reboot ? please advice what I need to check in order to verify the problem ?
my script ( platform.bash )
#!/bin/bash
echo test > /var/tmp/log.txt
© Server Fault or respective owner