comparison contrib/dashboardctl @ 37:58ca5b1d33a5

Add copyright info
author Gernot Schulz <gernot@intevation.de>
date Tue, 20 Oct 2015 08:22:26 +0200
parents 1e084c23d101
children 3fc74bcbd2cf
comparison
equal deleted inserted replaced
36:1e084c23d101 37:58ca5b1d33a5
1 #!/usr/bin/env sh 1 #!/usr/bin/env sh
2
3 # -------------------------------------------------------------------
4 # Copyright (C) 2015 by Intevation GmbH
5 # Author(s):
6 # Gernot Schulz <gernot.schulz@intevation.de>
2 7
3 export DISPLAY=":0.0" 8 export DISPLAY=":0.0"
4 9
5 OLDDB=/home/pi/incoming_dbs/tech_intern.db 10 OLDDB=/home/pi/incoming_dbs/tech_intern.db
6 NEWDB=/home/pi/incoming_dbs/tech_intern.db.new 11 NEWDB=/home/pi/incoming_dbs/tech_intern.db.new
58 WID=$(xdotool search --onlyvisible --class chromium | head -1) 63 WID=$(xdotool search --onlyvisible --class chromium | head -1)
59 xdotool windowactivate ${WID} 64 xdotool windowactivate ${WID}
60 xdotool key F5 65 xdotool key F5
61 else 66 else
62 start_chromium 67 start_chromium
63 fi 68 fi
64 } 69 }
65 70
66 check_new_db () { 71 check_new_db () {
67 if [ ! -f "$NEWDB" ]; then 72 if [ ! -f "$NEWDB" ]; then
68 echo 0 ; return 73 echo 0 ; return
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)