summaryrefslogtreecommitdiff
path: root/package/base-files/files/etc
diff options
context:
space:
mode:
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-07-11 17:00:54 +0000
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-07-11 17:00:54 +0000
commit157601b6948adc50efe73f9ee76bcd9cc46c0122 (patch)
treea2490dc7b2010b1179ec5111b09ec47b4168fbad /package/base-files/files/etc
parent271bb7ef0ea4d4a4be311048db029fffdf2695bf (diff)
procd: add a small script that handles config reloads until configd is ready
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37248 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files/files/etc')
-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 078adb8ecc..aad59e25da 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 aeec90c37c..22111895db 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
}