summaryrefslogtreecommitdiff
path: root/package/base-files/default/etc/init.d/S40network
diff options
context:
space:
mode:
Diffstat (limited to 'package/base-files/default/etc/init.d/S40network')
-rwxr-xr-xpackage/base-files/default/etc/init.d/S40network11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/base-files/default/etc/init.d/S40network b/package/base-files/default/etc/init.d/S40network
new file mode 100755
index 0000000000..be045045e7
--- /dev/null
+++ b/package/base-files/default/etc/init.d/S40network
@@ -0,0 +1,11 @@
+#!/bin/sh /etc/rc.common
+# Copyright (C) 2006 OpenWrt.org
+
+start() {
+ setup_switch() { return 0; }
+
+ include /lib/network
+ setup_switch
+ /sbin/wifi
+}
+