diff options
author | John Crispin <john@openwrt.org> | 2013-07-11 17:00:54 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2013-07-11 17:00:54 +0000 |
commit | 8eb56a88a49755cf8b58b65e9fc53df11043cab1 (patch) | |
tree | 7a14f09343a3c534de2dcce53e69d889008e8bd9 /package/base-files | |
parent | 67eb275f69a5861cb017d541bc83b32e587b3859 (diff) | |
download | upstream-8eb56a88a49755cf8b58b65e9fc53df11043cab1.tar.gz upstream-8eb56a88a49755cf8b58b65e9fc53df11043cab1.tar.bz2 upstream-8eb56a88a49755cf8b58b65e9fc53df11043cab1.zip |
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')
-rwxr-xr-x | package/base-files/files/etc/init.d/boot | 4 | ||||
-rwxr-xr-x | package/base-files/files/etc/rc.common | 4 |
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 } |