Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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 )


      echo test > /var/tmp/log.txt
share|improve this question
How did you know it is not executed? Is it writing to some log file/updating some other file, etc..? – Khaled Aug 30 '12 at 14:12
yes its write to log.txt but log not activated ! ( log is empty) – yael Aug 30 '12 at 14:25
I'm not familiar with Solaris but could you please post platform.bash? – quanta Aug 30 '12 at 15:25
see my update - its example - log.txt must have the string test but after reboot test string not in the file log.txt – yael Aug 30 '12 at 15:36

Thats not the right way to start the scripts. Your script should have its appropriate S##/K## with it. For example, you should make link as `


` and


as every script runs with its appropriate START and KILL script in a numerical order.

You should follow this artticle tobetter understand the Solaris init scripts process:

share|improve this answer
not clear for me why - S99platform.bash ( not the right way ) as you know the script S99platform.bash (S99) will start at the end of the boot what bad with S99 ??? , this is according init rules ! – yael Aug 31 '12 at 8:58

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.