summaryrefslogtreecommitdiff
path: root/package/base-files/files
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2013-07-11 17:00:54 +0000
committerJohn Crispin <john@openwrt.org>2013-07-11 17:00:54 +0000
commit8eb56a88a49755cf8b58b65e9fc53df11043cab1 (patch)
tree7a14f09343a3c534de2dcce53e69d889008e8bd9 /package/base-files/files
parent67eb275f69a5861cb017d541bc83b32e587b3859 (diff)
downloadmtk-20170518-8eb56a88a49755cf8b58b65e9fc53df11043cab1.zip
mtk-20170518-8eb56a88a49755cf8b58b65e9fc53df11043cab1.tar.gz
mtk-20170518-8eb56a88a49755cf8b58b65e9fc53df11043cab1.tar.bz2
procd: add a small script that handles config reloads until configd is ready
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 37248
Diffstat (limited to 'package/base-files/files')
-rwxr-xr-xpackage/base-files/files/etc/init.d/boot4
-rwxr-xr-xpackage/base-files/files/etc/rc.common4
2 files changed, 8 insertions, 0 deletions
diff --git a/package/base-files/files/etc/init.d/boot b/package/base-files/files/etc/init.d/boot
index 078adb8..aad59e2 100755
--- a/package/base-files/files/etc/init.d/boot
+++ b/package/base-files/files/etc/init.d/boot
@@ -60,6 +60,10 @@ start() {
rm -f /tmp/wireless.tmp
apply_uci_config
+
+ # temporary hack until configd exists
+ /sbin/reload_config
+
config_load system
config_foreach system_config system
diff --git a/package/base-files/files/etc/rc.common b/package/base-files/files/etc/rc.common
index aeec90c..2211189 100755
--- a/package/base-files/files/etc/rc.common
+++ b/package/base-files/files/etc/rc.common
@@ -80,6 +80,10 @@ start_service() {
return 0
}
+service_triggers() {
+ return 0
+}
+
stop_service() {
return 0
}