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/files | |
parent | 67eb275f69a5861cb017d541bc83b32e587b3859 (diff) | |
download | mtk-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-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 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 } |