aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/config/netifd/files/etc
Commit message (Collapse)AuthorAgeFilesLines
* base-files: set kernel.core_pattern in sysctl.confFelix Fietkau2015-09-111-1/+0
| | | | | | | | | | Move the pattern setting from netifd's service script to /etc/sysctl.conf. Put the timestamp component '%t' just after executable name '%e' for more natural order from output of ls command. Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46867 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: do not stop service on shutdown, only call ifdownFelix Fietkau2015-01-241-1/+1
| | | | | | | | Also add a small delay, like on restart Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44096 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: fix an error message during network shutdownSteven Barth2014-10-021-1/+2
| | | | | | | | | | | | | When 'wifi down' is called by /etc/init.d/network, it is run from stop_service( ). This function is in turn invoked from stop( ). stop( ) messes up the order by first procd_kill-ing the network settings, then calling wifi to down the wifi networking interfaces. By redefining stop( ) instead, the proper order is restored. Signed-off-by: Michel Stam <m.stam@fugro.nl> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42745 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/*: remove useless explicit set of function returncodeJohn Crispin2014-08-251-14/+0
| | | | | | | | | | | | | | | | | | | | | | somebody started to set a function returncode in the validation stuff and everybody copies it, e.g. myfunction() { fire_command return $? } a function automatically returns with the last returncode, so we can safely remove the command 'return $?'. reference: http://tldp.org/LDP/abs/html/exit-status.html "The last command executed in the function or script determines the exit status." Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42278 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: use procd_add_reload_triggerFelix Fietkau2014-06-111-4/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41147 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netfid: make procd watch the network.interface object for eventsJohn Crispin2014-06-051-0/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41010 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: replace the sleep 5 with an ubus wait_for call to speed up init scriptFelix Fietkau2014-05-311-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40891 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: fix validation constraintsJo-Philipp Wich2014-02-211-15/+15
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39648 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: add validation supportJohn Crispin2014-02-181-0/+105
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39621 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: initialize the switch early at start time and on reload (fixes #13015)Felix Fietkau2013-12-311-6/+10
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39183 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: add reload trigger for /etc/config/wireless as wellJo-Philipp Wich2013-12-181-1/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39131 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: prevent an unnecessary restart of netifd-managed wifi interfaces at ↵Felix Fietkau2013-12-131-1/+1
| | | | | | | | boot time Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39046 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: enable coredumps againJohn Crispin2013-12-091-4/+4
| | | | | | | | got broken due procd startup. Requires procd resource limit patch. Signed-off-by: Ulrich Weber <uw@xyne.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39020 3c298f89-4303-0410-b956-a3cf2f4a3e73
* wifi: rename the "reload" (restarting non-netifd wifi) command to ↵Felix Fietkau2013-12-021-1/+1
| | | | | | | | | | "reload_legacy" Add a new "reload" command that reloads the netifd config as well Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38989 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: add wireless configuration support and port mac80211 to the new ↵Felix Fietkau2013-12-021-1/+1
| | | | | | | | framework Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38988 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: remove redundant calls to /sbin/wifi downFelix Fietkau2013-12-021-2/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38982 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: remove connect_time from /var/state, it is unusedFelix Fietkau2013-11-101-1/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38704 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: convert various packages to procd style init.d scriptsJohn Crispin2013-09-171-17/+26
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38023 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: bring wifi down before shutting downJonas Gorski2013-06-081-0/+1
| | | | | | | | works around wifiX references not being freed on network restart. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36883 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Remove deprecated ip6slaac optionSteven Barth2013-04-091-19/+0
| | | | | | * use proto=dhcpv6 with reqprefix=no instead git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36280 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: remove IPv6 forwarding-sysctl workaroundSteven Barth2013-01-291-1/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35369 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: IPv6 sysctl, restart IPv6 in static mode to send RSSteven Barth2013-01-281-0/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35347 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: add SLAAC ipv6 value for static-protoSteven Barth2013-01-281-0/+16
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35346 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: add a band-aid fix for the wifi setup vs. netifd init race by ↵Jo-Philipp Wich2013-01-191-1/+1
| | | | | | increasing the wait time to five seconds git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35240 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: empty hotplug handler removedSteven Barth2012-12-031-10/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34465 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Remove old IPv6 sysctl-config (deprecated)Steven Barth2012-11-291-26/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34418 3c298f89-4303-0410-b956-a3cf2f4a3e73
* packages: sort network related packages into package/network/Felix Fietkau2012-10-103-0/+91
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33688 3c298f89-4303-0410-b956-a3cf2f4a3e73