Difference between revisions of "Automatic Configuration of Vayu Cape at bootup"
From Yantrr Wiki
(Created page with "== Automatic Start Of Internet Connection On Boot == '''<big>STEPS'''</big> * Make a SSH script with allcommands that you want to execute after bootup. * Login as root <pre> c...") |
|||
Line 8: | Line 8: | ||
</pre> | </pre> | ||
+ | * The sample boot_run.sh file looks like this: | ||
+ | <pre> | ||
+ | |||
+ | </pre> | ||
* Now make this file executable | * Now make this file executable | ||
<pre> | <pre> | ||
Line 17: | Line 21: | ||
@reboot /root/boot_run.sh >> /root/boot_run.log | @reboot /root/boot_run.sh >> /root/boot_run.log | ||
</pre> | </pre> | ||
+ | [[File:Crontab entry.png]] | ||
* For the precompiled images uploaded on Yantrr Wiki page the scripts are in place with all these settings preconfigured. | * For the precompiled images uploaded on Yantrr Wiki page the scripts are in place with all these settings preconfigured. |
Revision as of 01:43, 31 March 2015
Automatic Start Of Internet Connection On Boot
STEPS
- Make a SSH script with allcommands that you want to execute after bootup.
- Login as root
cd~ nano boot_run.sh
- The sample boot_run.sh file looks like this:
- Now make this file executable
chmod +x boot_run.sh
- Now Make a crontab entry for this script to start at bootup.
@reboot /root/boot_run.sh >> /root/boot_run.log
- For the precompiled images uploaded on Yantrr Wiki page the scripts are in place with all these settings preconfigured.