mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2026-03-02 23:44:37 +01:00
iup: sync before applying configs
This commit is contained in:
parent
4a2c9876f5
commit
87908befaf
1 changed files with 2 additions and 0 deletions
|
|
@ -63,6 +63,7 @@ reload ()
|
|||
for packname in $pack
|
||||
do
|
||||
ubus call uci commit '{"config":"'$packname'"}'
|
||||
sleep 1
|
||||
done
|
||||
}
|
||||
|
||||
|
|
@ -281,6 +282,7 @@ handle_Downloaded_file()
|
|||
apply_usercfg
|
||||
reboot=`uci -q get provisioning.configserver.reboot`
|
||||
if [ "$reboot" != "on" ]; then
|
||||
sync
|
||||
reload $CONFILESLURP
|
||||
fi
|
||||
rm -rf $IUPTEMP
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue