[email protected]:/etc/init.d# update-rc.d hotspotboot defaultsupdate-rc.d: using dependency based boot sequencing update-rc.d: warning: default start runlevel arguments (2 3 4 5) do Typically, I create a boot.sh script, invoke it from rc.local. Then I can keep boot.sh in a git repo or somewhere else handy.
7. Debugging C Shell Scripts There are two quick ways in which one can debug a C Shell script. The script can either be run from the command line as in one of the following two examples: >> csh –x myscript >> csh –v myscript or, the top most line of the script can be written as follows: #!/bin/csh –x #!/bin/csh –v