Skip to content
Snippets Groups Projects
Unverified Commit 62e71fbc authored by Matthias Schiffer's avatar Matthias Schiffer
Browse files

gluon-core: run gluon-reconfigure on boot when gluon.core.need_reconfigure is set

parent cf0dc244
No related branches found
No related tags found
No related merge requests found
#!/bin/sh /etc/rc.common
# Start right after S10boot
START=10
start() {
config_load gluon
config_get_bool reconfigure core reconfigure 0
if [ "$reconfigure" = 1 ]; then
gluon-reconfigure
fi
}
#!/bin/sh
/etc/init.d/gluon-core-reconfigure start
#!/bin/sh #!/bin/sh
exec uci commit uci -q batch <<-EOF
delete gluon.core.reconfigure
commit
EOF
...@@ -23,6 +23,7 @@ init_links := \ ...@@ -23,6 +23,7 @@ init_links := \
K99umount \ K99umount \
S00sysfixtime \ S00sysfixtime \
S10boot \ S10boot \
S10gluon-core-reconfigure \
S10system \ S10system \
S11sysctl \ S11sysctl \
S12log \ S12log \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment