fff-hoods: Restart alfred after keyxchange file update
This is a workaround to enable alfred on routers which do not see a configap during initial boot. Fixes: #78 Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by: Tim Niemeyer <tim@tn-x.org>
This commit is contained in:
parent
ef1ec21462
commit
c7ffb50d3d
|
@ -266,6 +266,8 @@ if [ -s "$hoodfile" ]; then
|
|||
cp "$hoodfile" "$hoodfilecopy"
|
||||
[ -s "$sectortmp" ] && cp "$sectortmp" "$sectorcopy"
|
||||
|
||||
# This is a workaround to enable alfred on devices which do not see a configap during initial setup
|
||||
/etc/init.d/alfred restart
|
||||
else
|
||||
echo "We have no new file. We do nothing. We try it again in 5 minutes...";
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue