Created
June 1, 2016 09:08
-
-
Save Avasz/1e827e6695c4ffbdf8d7b6f5c12d139e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#This script will run on every boot in odroid. | |
#The purpose of this script is to start firefox after boot in kiosk mode with predefined URL. | |
#This script will wait for 30 seconds before starting firefox so that the network can get stable. | |
#If you want to start firefox as soon as odroid boots and remove the 30 seconds delay then just comment or remove the | |
#line which says `sleep 30` | |
#Prepared by: Avash Mulmi | |
#If any help is required please contact <avashmulmi@gmail.com> | |
#Change the URL inside the quotation in the following line as per requirement | |
URL="http://hydrology.gov.np/tsho_rolpa" | |
sleep 30 | |
export DISPLAY=:0 | |
/usr/bin/firefox $URL |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment