diff options
-rwxr-xr-x | package/network/config/netifd/files/etc/init.d/network | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/package/network/config/netifd/files/etc/init.d/network b/package/network/config/netifd/files/etc/init.d/network index a825dfd31f..6cd167d19d 100755 --- a/package/network/config/netifd/files/etc/init.d/network +++ b/package/network/config/netifd/files/etc/init.d/network @@ -26,9 +26,12 @@ start_service() { } reload_service() { + local rv=0 + init_switch - ubus call network reload + ubus call network reload || rv=1 /sbin/wifi reload_legacy + return $rv } stop_service() { |