diff options
author | Felix Fietkau <nbd@openwrt.org> | 2010-03-15 14:02:49 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2010-03-15 14:02:49 +0000 |
commit | 3ab30b486f89cb6f538adabb0ca49c0a9ff91b8c (patch) | |
tree | 12229c010c0a0b42a0c3dfe6b78dd940ebba728c /package/base-files/files/etc | |
parent | 0095ab73f31ba7a21c9538b89b910ff2d6e1a98b (diff) | |
download | mtk-20170518-3ab30b486f89cb6f538adabb0ca49c0a9ff91b8c.zip mtk-20170518-3ab30b486f89cb6f538adabb0ca49c0a9ff91b8c.tar.gz mtk-20170518-3ab30b486f89cb6f538adabb0ca49c0a9ff91b8c.tar.bz2 |
base-files: reload switch settings on /etc/init.d/network start as well
SVN-Revision: 20232
Diffstat (limited to 'package/base-files/files/etc')
-rwxr-xr-x | package/base-files/files/etc/init.d/network | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/package/base-files/files/etc/init.d/network b/package/base-files/files/etc/init.d/network index 74478c7..3587c24 100755 --- a/package/base-files/files/etc/init.d/network +++ b/package/base-files/files/etc/init.d/network @@ -15,11 +15,6 @@ boot() { } start() { - ifup -a - /sbin/wifi up -} - -restart() { setup_switch() { return 0; } include /lib/network @@ -31,3 +26,7 @@ restart() { stop() { ifdown -a } + +restart() { + start +} |