how can this best be achieved?

You have written a little startup script (/usr/local/bin/startup.sh) that should automatically execute
when entering runlevel 3. According to the standards, how can this best be achieved?

You have written a little startup script (/usr/local/bin/startup.sh) that should automatically execute
when entering runlevel 3. According to the standards, how can this best be achieved?

A.
chmod 700 /usr/local/bin/startup.sh; cd/etc/init.d/rc3.d/; ln -s /user/local/bin/startup.sh

B.
chmod 700 /usr/local/bin/startup.sh; cd/etc/init.d/rc3.d/; ln -s /usr/local/bin/startup.sh
S99startup.sh

C.
chmod 700 /usr/local/bin/startup.sh; cd/etc/init.d/rc3.d/; ln /user/local/bin/startup.sh

D.
chmod 700 /usr/local/bin/startup.sh; cd/etc/init.d/rc3.d/; ln -s /user/local/bin/startup.sh
/usr/locl/bin/startup.sh

E.
chmod 700 /usr/local/bin/startup.sh; cp /user/local/bin/startup.sh /etc/init.d/rc3.d/S99Startup.sh

Explanation:

See http://www.linux-tutorial.info/modules.php?name=ManPage&sec=7&manpage=init.d



Leave a Reply 0

Your email address will not be published. Required fields are marked *