aboutsummaryrefslogtreecommitdiffstats
path: root/package/netifd/files/lib
Commit message (Collapse)AuthorAgeFilesLines
* netifd: call /etc/udhcp.user from the netifd dhcp.scriptFelix Fietkau2012-12-151-0/+3
| | | | | | | | | | | This was done previously when dhcp was handled by the network scripts. So netifd should behave the same. Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> Backport of r34704 git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34706 3c298f89-4303-0410-b956-a3cf2f4a3e73
* AA: netifd: backport r34089Jo-Philipp Wich2012-11-051-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34090 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] netifd: repair dhcp client id optionJo-Philipp Wich2012-07-011-1/+1
| | | | | | | | Busybox udhcpc dropped support for the -c option, instead it can be emulated by using -x 0x3d:id, change the dhcp protocol script accordingly and filter all colons from the id while we're at it. This change supersedes http://patchwork.openwrt.org/patch/1810/ git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32573 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] netifd: localize internally used shell variables (#11567)Jo-Philipp Wich2012-06-112-1/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32192 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] netifd: fix typo in dhcp protocol handler, fixes reqopt handling ↵Jo-Philipp Wich2012-06-071-1/+1
| | | | | | (#11609) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32098 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] /etc/functions.sh => /lib/functions.shJo-Philipp Wich2012-06-052-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32062 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: fix "Command failed: Not found" error with dhcpFelix Fietkau2012-05-261-1/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31863 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: use the new json_get_vars function in the dhcp helper scriptFelix Fietkau2012-05-141-6/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31727 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: improve error handling in legacy script compatibility library, do ↵Felix Fietkau2012-04-211-3/+3
| | | | | | not fill the log with error messages for interfaces that could not be found git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31432 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: make type a local variable in /lib/network/config.sh to avoid ↵Felix Fietkau2012-04-211-1/+1
| | | | | | clashes with an internal config_foreach variable git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31430 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ppp: move ppp-{up,down} from the netifd package to pppdFelix Fietkau2012-04-172-22/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31340 3c298f89-4303-0410-b956-a3cf2f4a3e73
* pppd: split files into netifd and non-netifd files, move the netifd ppp.sh ↵Felix Fietkau2012-03-201-183/+0
| | | | | | file to the pppd package git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31041 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: scan l3 devices on find_config()Felix Fietkau2012-03-191-1/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31033 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: implement find_config()Felix Fietkau2012-03-151-1/+14
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30947 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: add missing do_sysctl functionFelix Fietkau2012-02-271-0/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30749 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: fix legacy scripts that expect the ifname option to be mapped to the ↵Felix Fietkau2012-02-021-0/+2
| | | | | | device option after fixup git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30003 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: ensure that a bridge gets created before hostapd needs it, hostapd ↵Felix Fietkau2011-11-041-0/+7
| | | | | | must not attempt to create the bridge by itself git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28745 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: add missing proto handler conversion after r28632 (thx, Jonathan Bennet)Felix Fietkau2011-11-011-3/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28713 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: update, prefix proto handler callbacks with 'proto_'Felix Fietkau2011-10-271-9/+9
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28632 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: remove obsolete _init callbacks, set available=1 for pppFelix Fietkau2011-10-272-16/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28631 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: allow ppp based proto handlers to override the connect/disconnect scriptFelix Fietkau2011-10-271-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28630 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add an initial (experimental) version of netifd, disabled by defaultFelix Fietkau2011-10-216-0/+381
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28499 3c298f89-4303-0410-b956-a3cf2f4a3e73