aboutsummaryrefslogtreecommitdiffstats
path: root/package/netifd/files/etc/init.d/network
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-10-10 12:32:29 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-10-10 12:32:29 +0000
commit405e21d16731b2764ab82aaaadcf36a813b105f7 (patch)
treec6f9a8402389a5081519b91ce62c4a8cafcb8917 /package/netifd/files/etc/init.d/network
parentd0ec348ded6f715b43b396b06ccb10599b37969d (diff)
downloadupstream-405e21d16731b2764ab82aaaadcf36a813b105f7.tar.gz
upstream-405e21d16731b2764ab82aaaadcf36a813b105f7.tar.bz2
upstream-405e21d16731b2764ab82aaaadcf36a813b105f7.zip
packages: sort network related packages into package/network/
SVN-Revision: 33688
Diffstat (limited to 'package/netifd/files/etc/init.d/network')
-rwxr-xr-xpackage/netifd/files/etc/init.d/network47
1 files changed, 0 insertions, 47 deletions
diff --git a/package/netifd/files/etc/init.d/network b/package/netifd/files/etc/init.d/network
deleted file mode 100755
index 28b1ba3dde..0000000000
--- a/package/netifd/files/etc/init.d/network
+++ /dev/null
@@ -1,47 +0,0 @@
-#!/bin/sh /etc/rc.common
-
-START=20
-STOP=90
-
-SERVICE_DAEMONIZE=1
-SERVICE_WRITE_PID=1
-
-start() {
- stop
- [ -e /proc/sys/kernel/core_pattern ] && {
- ulimit -c unlimited
- echo '/tmp/%e.%p.%s.%t.core' > /proc/sys/kernel/core_pattern
- }
- service_start /sbin/netifd
-
- setup_switch() { return 0; }
-
- include /lib/network
- setup_switch
-
- sleep 1
-
- /sbin/wifi down
- /sbin/wifi up
-}
-
-restart() {
- ifdown -a
- sleep 1
- start
-}
-
-shutdown() {
- ifdown -a
- stop
-}
-
-stop() {
- service_stop /sbin/netifd
-}
-
-reload() {
- ubus call network reload
- /sbin/wifi down
- /sbin/wifi up
-}