This website requires JavaScript.
Explore
Help
Sign In
McUles
/
firmware
forked from
freifunk-franken/firmware
Watch
1
Star
0
Fork
You've already forked firmware
0
Code
Issues
Pull Requests
Projects
Releases
Wiki
Activity
776cfe9f86
firmware
/
src
/
packages
/
fff
/
fff-alfred-monitoring-proxy
/
files
/
etc
/
uci-defaults
/
52-alfred-master
6 lines
69 B
Plaintext
Raw
Normal View
History
Unescape
Escape
fff-alfred-monitoring-proxy: add package CC: kratz00@gmx.de Signed-off-by: Tim Niemeyer <tim@tn-x.org> - Changed subject - Changed curl parameters - Added firewall rule - Configure alfred to be master - Add fff-nodewatcher as dep, because we use the alfred config - Change data handling during curl to pipe - Add newline on cron rule Signed-off-by: Fabian Bläse <fabian@blaese.de> - Fix alfred master mode introduced by packaging alfred - Adjust monitoring-proxy waittime to suggestion Reviewed-by: Robert Langhammer <rlanghammer@web.de> Reviewed-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2018-08-11 19:53:39 +02:00
uci -q set "alfred.alfred.mode=master"
uci -q commit alfred
treewide: add "exit 0" for uci-defaults files uci-defaults scripts are supposed to be run once after firstboot and then removed. However, the removal only takes place if the subshell created for the sourced scripts returns exit code 0. For some of the files, the last command returned a different exit code, though, leading to the script remaining in its location and being executed for every boot. To prevent cases like the latter, this adds an "exit 0" to all uci-defaults files in our package store. While at it, remove the shebang for all these files since they are sourced (and not executed). Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by: Fabian Bläse <fabian@blaese.de>
2020-04-22 16:32:46 +02:00
exit 0