From 27b76ab0671089c47506615a796a261e993896a7 Mon Sep 17 00:00:00 2001 From: James <> Date: Sun, 17 Mar 2013 12:16:37 +0000 Subject: fish --- .../config/netifd/files/etc/init.d/.svn/entries | 62 ++++++++++++++++++++++ .../etc/init.d/.svn/prop-base/network.svn-base | 5 ++ .../etc/init.d/.svn/text-base/network.svn-base | 47 ++++++++++++++++ .../network/config/netifd/files/etc/init.d/network | 47 ++++++++++++++++ 4 files changed, 161 insertions(+) create mode 100644 package/network/config/netifd/files/etc/init.d/.svn/entries create mode 100644 package/network/config/netifd/files/etc/init.d/.svn/prop-base/network.svn-base create mode 100644 package/network/config/netifd/files/etc/init.d/.svn/text-base/network.svn-base create mode 100755 package/network/config/netifd/files/etc/init.d/network (limited to 'package/network/config/netifd/files/etc/init.d') diff --git a/package/network/config/netifd/files/etc/init.d/.svn/entries b/package/network/config/netifd/files/etc/init.d/.svn/entries new file mode 100644 index 0000000..2520cee --- /dev/null +++ b/package/network/config/netifd/files/etc/init.d/.svn/entries @@ -0,0 +1,62 @@ +10 + +dir +36060 +svn://svn.openwrt.org/openwrt/trunk/package/network/config/netifd/files/etc/init.d +svn://svn.openwrt.org/openwrt + + + +2013-01-19T10:13:14.536731Z +35240 +jow + + + + + + + + + + + + + + +3c298f89-4303-0410-b956-a3cf2f4a3e73 + +network +file + + + + +2013-03-17T12:13:19.000000Z +f013880fead70c81159a0bc5c2096c31 +2013-01-19T10:13:14.536731Z +35240 +jow +has-props + + + + + + + + + + + + + + + + + + + + +559 + diff --git a/package/network/config/netifd/files/etc/init.d/.svn/prop-base/network.svn-base b/package/network/config/netifd/files/etc/init.d/.svn/prop-base/network.svn-base new file mode 100644 index 0000000..869ac71 --- /dev/null +++ b/package/network/config/netifd/files/etc/init.d/.svn/prop-base/network.svn-base @@ -0,0 +1,5 @@ +K 14 +svn:executable +V 1 +* +END diff --git a/package/network/config/netifd/files/etc/init.d/.svn/text-base/network.svn-base b/package/network/config/netifd/files/etc/init.d/.svn/text-base/network.svn-base new file mode 100644 index 0000000..429f33d --- /dev/null +++ b/package/network/config/netifd/files/etc/init.d/.svn/text-base/network.svn-base @@ -0,0 +1,47 @@ +#!/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 5 + + /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 +} diff --git a/package/network/config/netifd/files/etc/init.d/network b/package/network/config/netifd/files/etc/init.d/network new file mode 100755 index 0000000..429f33d --- /dev/null +++ b/package/network/config/netifd/files/etc/init.d/network @@ -0,0 +1,47 @@ +#!/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 5 + + /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 +} -- cgit v1.2.3