aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2013-07-11 17:00:54 +0000
committerJohn Crispin <blogic@openwrt.org>2013-07-11 17:00:54 +0000
commitee1b454b4b845f1ef7d7a753e3f3e854da12f232 (patch)
treea2490dc7b2010b1179ec5111b09ec47b4168fbad /package/base-files
parentd20dabe8e8e100f06ade10e6c60b11564c17ff1e (diff)
downloadupstream-ee1b454b4b845f1ef7d7a753e3f3e854da12f232.tar.gz
upstream-ee1b454b4b845f1ef7d7a753e3f3e854da12f232.tar.bz2
upstream-ee1b454b4b845f1ef7d7a753e3f3e854da12f232.zip
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')
-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
}