aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/usr/share
Commit message (Collapse)AuthorAgeFilesLines
* base-files: move network related scripts to a separate package to make the ↵Felix Fietkau2011-10-201-161/+0
| | | | | | transition to netifd easier SVN-Revision: 28495
* base-files: derive lease_acquired dhcp state var from /proc/uptimeJo-Philipp Wich2011-02-101-1/+1
| | | | SVN-Revision: 25452
* base-files: the busybox update to v1.15.3 completely broke udhcpc route ↵Jo-Philipp Wich2010-12-221-73/+14
| | | | | | option handling, repair default.script to work with the new format (#6435) SVN-Revision: 24778
* base-file: add metric option for static and dhcp protos, this simplifies the ↵Jo-Philipp Wich2010-11-171-1/+3
| | | | | | management of multiple default routes SVN-Revision: 24020
* base-files: utilize uci_get_state to read the previous dhcp router address ↵Jo-Philipp Wich2010-10-041-2/+2
| | | | | | in udhcpc default script. The setup_switch() procedure provided by swconfig calls config_load() during network restart and thus confuses udhcpc's uci state keeping resulting in a missing default route on each second network restart. Bypass the cached state vars and query uci directly to make the script immune against unwanted runtime changes. SVN-Revision: 23211
* base-files: cached state vars after scan_interfaces might be out of sync ↵Jo-Philipp Wich2010-09-191-3/+3
| | | | | | when binding dhcp leases, this could lead to an unconfigured wan interface in certain circumstances. Replace config_get calls with uci_get_state SVN-Revision: 23091
* base-files: - use add_dns() and remove_dns() for when changing ↵Jo-Philipp Wich2010-05-301-11/+11
| | | | | | resolv.conf.auto for static or dhcp interfaces - force 0644 permissions when creating resolv.conf.auto, fixes dnsmasq permissions denied problem with pppd interfaces - revert dns servers in /sbin/ifdown - bump package revision SVN-Revision: 21638
* base-files: use uci_get() wrapper (#7312)Jo-Philipp Wich2010-05-171-5/+0
| | | | SVN-Revision: 21490
* base-files: revert dhcp state information on ifdown and restore pre-r19530 ↵Jo-Philipp Wich2010-02-121-2/+1
| | | | | | behaviour in udhcp default.script SVN-Revision: 19597
* base-files: fix udhcpc address acquisition on network restart (patch by ↵Jo-Philipp Wich2010-02-051-1/+2
| | | | | | Scott Dudley) SVN-Revision: 19530
* Revert "fix nonhotpluggable networks not being brought up. Closes #2781" ↵Felix Fietkau2009-09-091-1/+0
| | | | | | (r17527) until we've solved the race conditions it creates SVN-Revision: 17544
* fix nonhotpluggable networks not being brought up. Closes #2781Travis Kemen2009-09-061-0/+1
| | | | SVN-Revision: 17527
* udhcpc: Pass all events to udhcpc.userVasilis Tsiligiannis2009-07-121-3/+3
| | | | | | | | | | Petitboot and maybe other apps need to know when the dhcp lease is lost. Move the udhcpc.user call to send it all udhcpc events. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com> SVN-Revision: 16815
* allow udhcpc to work properly for interfaces that are not configured through uciFelix Fietkau2009-07-031-23/+38
| | | | SVN-Revision: 16664
* udhcpc: add cidr routes support (patch from #5299)Felix Fietkau2009-06-131-0/+74
| | | | SVN-Revision: 16433
* base-files: fixup resolv.conf check in udhcpc scriptJo-Philipp Wich2009-05-171-1/+1
| | | | SVN-Revision: 15903
* base-files: - restore device, ifname and aliases state in dhcp script - make ↵Jo-Philipp Wich2009-05-101-1/+8
| | | | | | sure that resolv.conf.tmp is written once at least for statically configured dns SVN-Revision: 15753
* base-files: replace udhcpc script with an improved versionJo-Philipp Wich2009-05-061-74/+116
| | | | SVN-Revision: 15635
* udhcpc: run dhcp hotplug events after dns has been setFelix Fietkau2009-04-041-7/+7
| | | | SVN-Revision: 15095
* base-files: allow option dns to override dhcp assigned dns serversJo-Philipp Wich2009-02-191-9/+24
| | | | SVN-Revision: 14562
* don't emit ifup hotplug events on dhcp renew - use a new iface hotplug type ↵Felix Fietkau2008-09-231-1/+5
| | | | | | 'update' instead; fixes #3906 SVN-Revision: 12671
* Here comes the new UCI. Enjoy :)Felix Fietkau2008-02-031-6/+5
| | | | SVN-Revision: 10367
* fix a few issues with dynamically assigned interfacesFelix Fietkau2007-09-121-0/+1
| | | | SVN-Revision: 8765
* avoid a race condition that might lead to dnsmasq reading an empty ↵Felix Fietkau2007-07-121-3/+4
| | | | | | resolv.conf (#2007) SVN-Revision: 7952
* keep track of the network interface states (stored in uci format in ↵Felix Fietkau2007-06-161-1/+7
| | | | | | /var/state/network, overlay over /etc/config/network) SVN-Revision: 7643
* fix typoMike Baker2007-05-151-1/+1
| | | | SVN-Revision: 7244
* cleaner version of the udhcp scriptMike Baker2007-05-141-5/+7
| | | | SVN-Revision: 7222
* Do not suppress routes if the router received on renew is the same (#138)Florian Fainelli2007-05-131-1/+1
| | | | SVN-Revision: 7215
* nuke mdev and replace it with hotplug2 :)Felix Fietkau2007-03-041-1/+1
| | | | SVN-Revision: 6512
* Forward port whiterussian resolv.conf changes /etc/resolv.conf links to ↵Felix Fietkau2007-01-081-1/+1
| | | | | | /tmp/resolv.conf /tmp/resolv.conf links to /tmp/resolv.conf.auto by default (which is where the ISPs nameserver is in) When dnsmasq starts, it replaces /tmp/resolv.conf with a file pointing to 127.0.0.1 SVN-Revision: 6043
* rename default/ to files/Felix Fietkau2006-11-221-0/+57
SVN-Revision: 5622