File tree Expand file tree Collapse file tree 1 file changed +24
-1
lines changed Expand file tree Collapse file tree 1 file changed +24
-1
lines changed Original file line number Diff line number Diff line change 37
37
sudo reboot
38
38
fi
39
39
40
+ # Individual logbox settings:
41
+ if [ " $mac " == " 9cb911" ] # 1908 test
42
+ then
43
+ if [ ! -f /home/logbox/masson-fix-1 ]
44
+ then
45
+ cd /home/logbox/hat
46
+ git fetch && git checkout 1908-masson
47
+ cd /home/logbox/os
48
+ git fetch && git checkout 1908-masson
49
+ touch /home/logbox/masson-fix-1
50
+ sudo reboot
51
+ fi
52
+ fi
53
+
40
54
# Update all components:
41
55
rebootNeeded=false
42
56
declare -a component_list=(" avr" " hat" " hat-update" " os" )
57
71
sudo reboot
58
72
fi
59
73
60
- /usr/bin/logbox-hat-update
74
+ sudo /usr/bin/logbox-hat-update
61
75
62
76
sudo crontab -u logbox " $logbox_home /os/cron.conf"
63
77
64
78
sudo touch /var/www/logbox/cfg.dat
65
79
sudo chown logbox:logbox /var/www/logbox/cfg.dat
66
80
sudo chmod a+w /var/www/logbox/cfg.dat
67
81
82
+ if [ " $mac " == " 9cb911" ] # 1908 test
83
+ then
84
+ if [ ! -f /home/logbox/masson-fix-2 ]
85
+ then
86
+ touch /home/logbox/masson-fix-2
87
+ sudo reboot
88
+ fi
89
+ fi
90
+
68
91
python os/data-log.py &
69
92
echo $! > /home/logbox/data-log.pid
You can’t perform that action at this time.
0 commit comments