41 Commits (89f8a8be7fae4802e06de745d85179d8b3b697d6)

Author SHA1 Message Date
Michael Heimpold d6ac8ca76c base-files: fix several bashisms 6 years ago
Mathias Kresin 52a9edb1bf base-files: add menuconfig option for HOME_URL 6 years ago
Matthias Schiffer d573b1287e
base-files: remove remaining uses of %N, and drop VERSION_NICK config symbol 7 years ago
Florian Eckert c31f0421ce base-files: suppress uci not found output in login.sh 7 years ago
Matthias Schiffer b9a408c2b4
base-files: add ARCH_PACKAGES to openwrt_release and os-release 8 years ago
Jo-Philipp Wich 5f3c96c285 build: adjust version number handling 8 years ago
Daniel Dickinson f954f4337b base-files: Add standard os-release file 8 years ago
John Crispin dc92917409 image / basefiles: make console password configurable 9 years ago
Felix Fietkau c2b5767572 base-files: move network related scripts to a separate package to make the transition to netifd easier 13 years ago
Felix Fietkau 803e9ceb90 base-files: /usr/lib/common.awk is only used by /bin/ipcalc.sh, move the code there 14 years ago
Jo-Philipp Wich 4e34fc521c base-files: derive lease_acquired dhcp state var from /proc/uptime 14 years ago
Jo-Philipp Wich 3bd7985a0b base-files: the busybox update to v1.15.3 completely broke udhcpc route option handling, repair default.script to work with the new format (#6435) 14 years ago
Jo-Philipp Wich d0ab35c115 base-file: add metric option for static and dhcp protos, this simplifies the management of multiple default routes 14 years ago
Jo-Philipp Wich 0fda5f7507 base-files: utilize uci_get_state to read the previous dhcp router 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. 14 years ago
Jo-Philipp Wich 84b7b812f3 base-files: cached state vars after scan_interfaces might be out 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 14 years ago
Jo-Philipp Wich 261d41a906 base-files: - 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 14 years ago
Jo-Philipp Wich ea06a67eac base-files: use uci_get() wrapper (#7312) 15 years ago
Jo-Philipp Wich 250b52f673 base-files: revert dhcp state information on ifdown and restore pre-r19530 behaviour in udhcp default.script 15 years ago
Jo-Philipp Wich 520ea8e5f9 base-files: fix udhcpc address acquisition on network restart (patch by Scott Dudley) 15 years ago
Felix Fietkau e69a6f1b82 base-files: remove obsolete stuff from common.awk 15 years ago
Felix Fietkau 91d40a14af Revert "fix nonhotpluggable networks not being brought up. Closes #2781" (r17527) until we've solved the race conditions it creates 15 years ago
Travis Kemen 27915ac778 fix nonhotpluggable networks not being brought up. Closes #2781 15 years ago
Vasilis Tsiligiannis e5b097425d udhcpc: Pass all events to udhcpc.user 15 years ago
Felix Fietkau 7a576b004e allow udhcpc to work properly for interfaces that are not configured through uci 15 years ago
Felix Fietkau d196e4087e udhcpc: add cidr routes support (patch from #5299) 15 years ago
Jo-Philipp Wich 2ee67f7272 base-files: fixup resolv.conf check in udhcpc script 16 years ago
Jo-Philipp Wich 33c38fba27 base-files: - restore device, ifname and aliases state in dhcp script - make sure that resolv.conf.tmp is written once at least for statically configured dns 16 years ago
Jo-Philipp Wich ca609a2431 base-files: replace udhcpc script with an improved version 16 years ago
Felix Fietkau 6a50bf433a udhcpc: run dhcp hotplug events after dns has been set 16 years ago
Jo-Philipp Wich 2d672ef2f5 base-files: allow option dns to override dhcp assigned dns servers 16 years ago
Felix Fietkau 35b92f0c99 don't emit ifup hotplug events on dhcp renew - use a new iface hotplug type 'update' instead; fixes #3906 16 years ago
Felix Fietkau 0cf1a58282 Here comes the new UCI. Enjoy :) 17 years ago
Felix Fietkau f7ff1d6d0f fix a few issues with dynamically assigned interfaces 17 years ago
Felix Fietkau 1b4380b8ed avoid a race condition that might lead to dnsmasq reading an empty resolv.conf (#2007) 17 years ago
Felix Fietkau 4f16e9cc3e keep track of the network interface states (stored in uci format in /var/state/network, overlay over /etc/config/network) 17 years ago
Mike Baker 924cd1ffc9 fix typo 18 years ago
Mike Baker 3e112cbedb cleaner version of the udhcp script 18 years ago
Florian Fainelli 3e9c0379ba Do not suppress routes if the router received on renew is the same (#138) 18 years ago
Felix Fietkau a44c286fdb nuke mdev and replace it with hotplug2 :) 18 years ago
Felix Fietkau 656412d1a3 Forward port whiterussian resolv.conf changes /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 18 years ago
Felix Fietkau 59a06c71cb rename default/ to files/ 18 years ago