|
|
@@ -20,23 +20,28 @@
|
|
|
# along with PopuFare. If not, see <https://www.gnu.org/licenses/>.
|
|
|
#
|
|
|
|
|
|
-/home/bus/bin/setup-serial.py 2>&1 >> /tmp/init.log
|
|
|
+/home/bus/bin/setup-serial.py >> /tmp/init.log 2>&1
|
|
|
sleep 2
|
|
|
-/home/bus/bin/get_net_ids.sh 2>&1 >> /tmp/init.log
|
|
|
+/home/bus/bin/get_net_ids.sh >> /tmp/init.log 2>&1
|
|
|
sleep 2
|
|
|
|
|
|
ip link set eth0 down
|
|
|
|
|
|
-/home/bus/bin/connection_tether.sh 2>&1 >> /tmp/tether.log &
|
|
|
+/home/bus/bin/connection_tether.sh >> /tmp/tether.log 2>&1 &
|
|
|
sleep 2
|
|
|
-/home/bus/bin/update_loop.sh 2>&1 >> /tmp/run.log &
|
|
|
+/home/bus/bin/update_loop.sh >> /tmp/run.log 2>&1 &
|
|
|
sleep 2
|
|
|
|
|
|
-/home/bus/bin/reset-gps 2>&1 >> /tmp/gps.log &
|
|
|
+/home/bus/bin/reset-gps >> /tmp/gps.log 2>&1 &
|
|
|
sleep 2
|
|
|
|
|
|
## If using HDMI sound, uncomment the following two lines...
|
|
|
-vcgencmd force_audio hdmi 1 2>&1 >> /tmp/audio.log &
|
|
|
+##
|
|
|
+vcgencmd force_audio hdmi 1 >> /tmp/audio.log 2>&1 &
|
|
|
sleep 1
|
|
|
|
|
|
+#xinit /home/bus/bin/start-kiosk.sh >> /tmp/kiosk.log 2>&1 &
|
|
|
+#su -l pi -c /usr/bin/startx /home/bus/bin/start-kiosk.sh >> /tmp/kiosk.log 2>&1 &
|
|
|
+( sleep 5 && usr/bin/startx /home/bus/bin/start-kiosk.sh >> /tmp/kiosk.log 2>&1 ) &
|
|
|
+
|
|
|
exit 0
|