From ee1b454b4b845f1ef7d7a753e3f3e854da12f232 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Thu, 11 Jul 2013 17:00:54 +0000 Subject: procd: add a small script that handles config reloads until configd is ready Signed-off-by: John Crispin git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37248 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/base-files/files/etc/init.d/boot | 4 ++++ package/base-files/files/etc/rc.common | 4 ++++ 2 files changed, 8 insertions(+) (limited to 'package/base-files') 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 } -- cgit v1.2.3