fix displayed name in init script help text
[openwrt.git] / package / base-files / default / etc / init.d / S40network
index ec29033..be04504 100755 (executable)
@@ -1,9 +1,11 @@
-#!/bin/sh
+#!/bin/sh /etc/rc.common
 # Copyright (C) 2006 OpenWrt.org
 
-setup_switch() { return 0; }
+start() {
+       setup_switch() { return 0; }
+
+       include /lib/network
+       setup_switch
+       /sbin/wifi
+}
 
-. /etc/functions.sh
-include network
-setup_switch
-/sbin/wifi
This page took 0.03043 seconds and 4 git commands to generate.