1 Reply Latest reply on Jul 25, 2012 6:27 PM by RufusXavierSarsparilla

    run a service via startup script (correct me if I am wrong)


      Solaris 9

      I have configured the Solaris9 as NTP client in which Solaris9 is syncing the time with a windows2008 R2 Server which is runing fine. Now I want that the xntpd service should start at startup. I did this via a script. Kindly correct if I did any thing wrong:

      1.)Made a file under the run level in which my solaris9 boots as defaults.(I verified my default run level is 5 via the command who -r)

      #cd /etc/rc3.d/
      #touch S99xntpd.sh

      2.) Add the below command in the created file
      # vi /etc/rc3.d/S99xntpd.sh
      /etc/init.d/xntpd start

      3.) Verify that the root user has the correct permission

      #ls -la

      -rwxr--r-- 1 root root 24 Jul 16 13:06 S99xntpd.sh