433 Commits (3559931d8f9b3d53374aca52e83f389f42746cac)

Author SHA1 Message Date
Jo-Philipp Wich 3b6851aa82 base-files: implement "reqopts" parameter for dhcp interfaces to specify additional dhcp options to request 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 deb9661785 Âbase-files: don't mark /etc/banner as conffile 14 years ago
Gabor Juhos 63c786dde7 base-files: add support for the usbdev LED trigger 14 years ago
Felix Fietkau 5a351509aa base-files: use shutdown instead of stop when the system goes down (patch by tripolar) 14 years ago
Florian Fainelli ebe7bdba88 adds a --help option to /sbin/wifi 14 years ago
Jo-Philipp Wich 9a996248d4 base-files: derive connect_time from uptime as local system time may warp due to rdate, ntp and other means 14 years ago
Jo-Philipp Wich a8c3d1ab6d base-files: save the connect time of interfaces in uci state 14 years ago
Jo-Philipp Wich ca829e805b base-files: disable ipv6 on bridge ports, this prevents stray RA assigned and link local addresses on bridge member devices 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 c5711cadd3 base-files: change /dev permissions to 0755 when hotplug2 is used (#6039) 14 years ago
Jo-Philipp Wich a8efa34da3 Fix permissions for /etc and other dirs after clean flash (#6039) 14 years ago
Jo-Philipp Wich d856ed78ad base-files: add udhcpc vendorid option (#7744) 14 years ago
Jo-Philipp Wich d80f82d7a4 base-files: - add sysupgrade support for keepfile hints * introduces /lib/upgrade/keep.d/ for per-package keepfile lists * introduces /etc/sysupgrade.conf for user defined keepfile hints - prime /lib/upgrade/keep.d/base-files-essential to keep sysupgrade usable for images without opkg - change sysupgrade to build the keepfile list from /lib/upgrade/keep.d/, /etc/sysupgrade.conf and opkg list-changed-conffiles 14 years ago
Jo-Philipp Wich 978ecae685 base-files: sysupgrade: merge info from "opkg list-changed-conffiles" to backup file list 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 6bcdab79b6 base-files: prevent possible sourcing of JFFS2 meta files when merging overlay hooks 14 years ago
Daniel Dickinson b125e3f68e Fixed duplicated content in file in commit 23111 14 years ago
Daniel Dickinson 7fe34123d6 Missed file committing previous change 23110 14 years ago
Daniel Dickinson 18b473ca9b base/block-extroot, base/block-mount: Modified preinit and block-extroot and block-mount so that use of block-mount and block-extroot do not require that block-extroot, block-mount, nor the kernel modules they depend, on are required to included in the image. That is block-extroot and dependencies may now be installed as modules onto the jffs2 part of a squashfs system and it will work. In addition packages which are installed into the jffs2 of a squashfs system may now affect preinit, so long as they do not require execution of commands that occur before the merging of the jffs2 and built-in (squashfs) preinit scripts is done. 14 years ago
Daniel Dickinson 1385904dfa base-files: Add function pi_include the /lib/functions/boot.sh used by preinit, which safely sources files as well as working correctly whether the script using it is a package added to the jffs2 part of a squashfs or built into an image or on some other root filesystem. 14 years ago
Jo-Philipp Wich 52531f4eb6 base-files: kill possibly existing udhcpc instance when bringing up a dhcp iface, utilize service_kill() in dhcp shutdown. Based on patch by Stijn Tintel. Possibly related to #7314 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 4815de3f26 base-files: introduce service_kill() into functions.sh - a convenience wrapper for killing services by pid or pidfile with a grace period for termination before kill 14 years ago
Jo-Philipp Wich 91118a9500 base-files: add an experimental "-c" flag which tries to preserve *all* changed files in /overlay/etc minus some system files 14 years ago
Jo-Philipp Wich 63991ba875 base-files, uci: properly revert list state on config_load This fixes a bug where lists end up with duplicate values if config_load was invoked multiple times. 14 years ago
Hamish Guthrie cbc8b3968c base_files: Remove . from end of localhost entry 14 years ago
Jo-Philipp Wich 8c4ac87e8f base-files: r22444 caused interfaces to remain down if the macaddr option is used, fix it. Also localize the txqueuelen option variable 14 years ago
Florian Fainelli 56aa129fed add txqueuelen option, patch from Roberto Riggio 14 years ago
Jo-Philipp Wich 9bf9ea9802 base-files: localize variable in do_move_devtmpfs(), remove extra temporary variable and shorten conditional 14 years ago
Alexandros C. Couloumbis 6a85a3b53b package/base-files: add support for devtmpfs (thank you rauchwolke at gmx.net) 14 years ago
Jo-Philipp Wich e1a654dd9f base-files: unconditionally unlock the rootfs_data partition (#7437) 14 years ago
Jo-Philipp Wich 1dd824a358 base-files, busybox: fix 22279, simplify code and get rid of awk 14 years ago
Daniel Dickinson 8974bc6ae2 base-files & telnet: Fixed telnet starting even with root password when shadow passwords in use. 14 years ago
Felix Fietkau 3e75044a95 wifi: fix duplicate ht capabilities in the hostapd config file by clearing the list at config load time 14 years ago
Jo-Philipp Wich 506db2a57e base-files: add "mtu" option for route sections, allows setting per-route mtu values 14 years ago
Jo-Philipp Wich ce5d644ac1 base-files: enable IPv6 forwarding by default since the default firewall supports ip6tables now 14 years ago
Jo-Philipp Wich 93c2c81bcf base-files: introduce option "broadcast" for proto=dhcp interface to enable the broadcast flag in DHCP requests, required by certain providers 14 years ago
Jo-Philipp Wich fa244a1265 base-files: remove IPv6 LL addr from interfaces before adding them to a bridge 14 years ago
Jo-Philipp Wich 94db915196 base-files: - add aliases to device by default (not ifname) - introduce option "layer" to select the target ifname to attach the alias to: - 3 use tun device (tun over bridge over device) fallback to bridge or device - 2 use bridge (bridge over device) fallback to device - 1 use device 14 years ago
Jo-Philipp Wich 75941a19ac base-file: move alias setup to route hotplug, this fixes alias sections for non-static interfaces like ppp, dhcp, 6in4 etc. 14 years ago
Jo-Philipp Wich c14e8be337 base-files: don't skip subsequent hotplug rules when doing makedev for tun or tap interfaces - this fixes support for uci managed OpenVPN interfaces and other externally created tuntap devices 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 09df0523fd base-files: revert r21595 14 years ago
Jo-Philipp Wich 482b8385d2 base-files: bring bridge port iface down before changing the mac (#7111) 14 years ago
Jo-Philipp Wich 8bc961239b base-files: 3g connection interfaces are now called "3g-*" - adjust 10-net hotplug handler to match them 14 years ago
Jo-Philipp Wich c0820d3261 base-files: respect .auto option when running coldplug_interface_*() hooks on boot 14 years ago
Felix Fietkau 6df2ad3e70 when changing the mac address of a bridge interface, keep member interface addresses in sync (patch from #7111) 14 years ago
Jo-Philipp Wich d6a142375b base-files: fix a preinit hang in jffs2_ready() when no rootfs_data partition is found (#7362) 15 years ago
Jo-Philipp Wich da55c9639a base-files (#7316) - improve rdate reliability - make rdate config more ntp like - move time server list to /etc/config/timeserver - bump package revision 15 years ago