summaryrefslogtreecommitdiffstats
path: root/package/base-files/files/usr/share
Commit message (Collapse)AuthorAgeFilesLines
* [package] base-files: the busybox update to v1.15.3 completely broke udhcpc ↵jow2010-12-221-73/+14
| | | | | | route option handling, repair default.script to work with the new format (#6435) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24778 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-file: add metric option for static and dhcp protos, this ↵jow2010-11-171-1/+3
| | | | | | simplifies the management of multiple default routes git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24020 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: utilize uci_get_state to read the previous dhcp router ↵jow2010-10-041-2/+2
| | | | | | | | | | | address 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. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23211 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: cached state vars after scan_interfaces might be out ↵jow2010-09-191-3/+3
| | | | | | of sync when binding dhcp leases, this could lead to an unconfigured wan interface in certain circumstances. Replace config_get calls with uci_get_state git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23091 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files:jow2010-05-301-11/+11
| | | | | | | | | | - use add_dns() and remove_dns() for when changing 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21638 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: use uci_get() wrapper (#7312)jow2010-05-171-5/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21490 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: revert dhcp state information on ifdown and restore ↵jow2010-02-121-2/+1
| | | | | | pre-r19530 behaviour in udhcp default.script git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19597 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: fix udhcpc address acquisition on network restart ↵jow2010-02-051-1/+2
| | | | | | (patch by Scott Dudley) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19530 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Revert "fix nonhotpluggable networks not being brought up. Closes #2781" ↵nbd2009-09-091-1/+0
| | | | | | (r17527) until we've solved the race conditions it creates git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17544 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix nonhotpluggable networks not being brought up. Closes #2781thepeople2009-09-061-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17527 3c298f89-4303-0410-b956-a3cf2f4a3e73
* udhcpc: Pass all events to udhcpc.useracinonyx2009-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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16815 3c298f89-4303-0410-b956-a3cf2f4a3e73
* allow udhcpc to work properly for interfaces that are not configured through ucinbd2009-07-031-23/+38
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16664 3c298f89-4303-0410-b956-a3cf2f4a3e73
* udhcpc: add cidr routes support (patch from #5299)nbd2009-06-131-0/+74
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16433 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: fixup resolv.conf check in udhcpc scriptjow2009-05-171-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15903 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files:jow2009-05-101-1/+8
| | | | | | | | - restore device, ifname and aliases state in dhcp script - make sure that resolv.conf.tmp is written once at least for statically configured dns git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15753 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: replace udhcpc script with an improved versionjow2009-05-061-74/+116
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15635 3c298f89-4303-0410-b956-a3cf2f4a3e73
* udhcpc: run dhcp hotplug events after dns has been setnbd2009-04-041-7/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15095 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: allow option dns to override dhcp assigned dns serversjow2009-02-191-9/+24
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14562 3c298f89-4303-0410-b956-a3cf2f4a3e73
* don't emit ifup hotplug events on dhcp renew - use a new iface hotplug type ↵nbd2008-09-231-1/+5
| | | | | | 'update' instead; fixes #3906 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12671 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Here comes the new UCI. Enjoy :)nbd2008-02-031-6/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10367 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix a few issues with dynamically assigned interfacesnbd2007-09-121-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8765 3c298f89-4303-0410-b956-a3cf2f4a3e73
* avoid a race condition that might lead to dnsmasq reading an empty ↵nbd2007-07-121-3/+4
| | | | | | resolv.conf (#2007) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7952 3c298f89-4303-0410-b956-a3cf2f4a3e73
* keep track of the network interface states (stored in uci format in ↵nbd2007-06-161-1/+7
| | | | | | /var/state/network, overlay over /etc/config/network) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7643 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix typombm2007-05-151-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7244 3c298f89-4303-0410-b956-a3cf2f4a3e73
* cleaner version of the udhcp scriptmbm2007-05-141-5/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7222 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Do not suppress routes if the router received on renew is the same (#138)florian2007-05-131-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7215 3c298f89-4303-0410-b956-a3cf2f4a3e73
* nuke mdev and replace it with hotplug2 :)nbd2007-03-041-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6512 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Forward port whiterussian resolv.conf changesnbd2007-01-081-1/+1
| | | | | | | | | /etc/resolv.conf links to /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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6043 3c298f89-4303-0410-b956-a3cf2f4a3e73
* rename default/ to files/nbd2006-11-221-0/+57
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5622 3c298f89-4303-0410-b956-a3cf2f4a3e73