aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/etc/hotplug.d
Commit message (Collapse)AuthorAgeFilesLines
* sysctl: read settings from /etc/sysctl.d/*.confJohn Crispin2015-07-071-3/+6
| | | | | | | | | This changes makes it possible to store custom settings in individual files inside the directory /etc/sysctl.d/. Signed-off-by: Stefan Tomanek <stefan.tomanek+openwrt@wertarbyte.de> SVN-Revision: 46239
* base-files: drop 2 pointless hotplug trigger stubsJohn Crispin2013-06-212-26/+0
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 37001
* package/base-files: change sysctl handling Move /etc/init.d/sysctl to index ↵Jo-Philipp Wich2013-03-251-0/+6
| | | | | | 00 and add hotplug script that applies interface specific sysctls for interfaces that only appear later - this allows to reliably configure per-interface parameters in sysctl.conf, e.g. to disable ipv6 autoconfig on a specific iface. SVN-Revision: 36129
* base-files: remove rdate integration, add busybox ntpd init script and ↵Jo-Philipp Wich2011-10-271-63/+0
| | | | | | server list in /etc/config/system The rdate applet proved to be too unreliable to obtain the current time on boot: - public time servers are rare and often unreachable or overloaded - rdate does not daemonize, it needs a network connection the moment it is started, leading to race conditions - the /etc/config/timeserver configuration is overly complex and there is no reliable way to disable rdate invocations - the time protocol as specified in RFC 868 is considered obsolete This commit adds an init script /etc/init.d/sysntpd which starts and stops the busybox ntpd accordingly. The builtin ntpd can be disabled by either disabling the init script, removing the symlink to busybox or by clearing the timeserver list in /etc/config/system. SVN-Revision: 28612
* base-files: move network related scripts to a separate package to make the ↵Felix Fietkau2011-10-203-214/+0
| | | | | | transition to netifd easier SVN-Revision: 28495
* base-files: use uci_toggle_state() to prevent unwanted aggregation of state ↵Jo-Philipp Wich2011-07-152-4/+4
| | | | | | vars (#9711) SVN-Revision: 27616
* base-files: properly handle vlans on top of wireless interfacesJo-Philipp Wich2011-03-181-7/+10
| | | | SVN-Revision: 26230
* base-files: fix sysctl handling, do not react on fake ifaces in route ↵Jo-Philipp Wich2011-02-251-2/+5
| | | | | | hotplug handler SVN-Revision: 25713
* base-files: - properly disable IPv6 on bridge ports - introduce accept_ra ↵Jo-Philipp Wich2011-02-111-0/+27
| | | | | | option, defaults to true for dhcp interfaces, false for others - introduce send_rs option, defaults to true for static interfaces, false for others SVN-Revision: 25454
* base-files: make the skipping of ppp interfaces in 10-net hotplug more ↵Jo-Philipp Wich2011-02-031-1/+1
| | | | | | explicit, this allows users to rely on hotplug events for ppp0 .. ppp9 interfaces spawned by other programs SVN-Revision: 25354
* base-files: derive connect_time from uptime as local system time may warp ↵Jo-Philipp Wich2010-12-011-1/+1
| | | | | | due to rdate, ntp and other means SVN-Revision: 24212
* base-files: save the connect time of interfaces in uci stateJo-Philipp Wich2010-12-011-0/+1
| | | | SVN-Revision: 24206
* base-files: add "mtu" option for route sections, allows setting per-route ↵Jo-Philipp Wich2010-06-301-2/+6
| | | | | | mtu values SVN-Revision: 22003
* base-files: - add aliases to device by default (not ifname) - introduce ↵Jo-Philipp Wich2010-06-021-1/+2
| | | | | | 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 SVN-Revision: 21655
* base-file: move alias setup to route hotplug, this fixes alias sections for ↵Jo-Philipp Wich2010-06-011-0/+28
| | | | | | non-static interfaces like ppp, dhcp, 6in4 etc. SVN-Revision: 21652
* base-files: 3g connection interfaces are now called "3g-*" - adjust 10-net ↵Jo-Philipp Wich2010-05-281-1/+1
| | | | | | hotplug handler to match them SVN-Revision: 21591
* base-files (#7316) - improve rdate reliability - make rdate config more ntp ↵Jo-Philipp Wich2010-05-171-35/+52
| | | | | | like - move time server list to /etc/config/timeserver - bump package revision SVN-Revision: 21495
* base-files: use uci_get() wrapper (#7312)Jo-Philipp Wich2010-05-171-1/+1
| | | | SVN-Revision: 21490
* base-files: do not bring up wlan interfaces from hotplug events, so that ↵Felix Fietkau2010-05-051-0/+2
| | | | | | wrong network/wireless configs are more noticeable SVN-Revision: 21379
* base-files: add a hotplug handler for rdateJo-Philipp Wich2010-03-271-0/+46
| | | | SVN-Revision: 20518
* add the block-mount package by Daniel Dickinson (cshore), replacing existing ↵Felix Fietkau2010-02-261-20/+0
| | | | | | automount functionality SVN-Revision: 19877
* base-files: try to activate hotplugged partitions as swap and fall back to ↵Jo-Philipp Wich2010-01-231-4/+5
| | | | | | lazy mount (#6517) SVN-Revision: 19300
* base-files: move ipv6 module loading from setup_interface() to addif() in ↵Jo-Philipp Wich2009-08-101-0/+6
| | | | | | the hotplug call, this ensures that ipv6 is loaded before any interfaces or aliases with ip6addr option are configured (#5356) SVN-Revision: 17217
* fix broken logic in r15272, r15273Jo-Philipp Wich2009-04-191-5/+4
| | | | SVN-Revision: 15274
* base-files: (#4928) handle "option gateway 0.0.0.0" and "option gateway ↵Jo-Philipp Wich2009-04-191-0/+7
| | | | | | interface" in route sections as "no gateway given" to allow defining gateway-less routes while still keeping the possibility to have static routes with a proper gateway on interfaces with# dynamic ips SVN-Revision: 15272
* base-files: remove redundant netmask handling in 10-routesJo-Philipp Wich2009-04-121-1/+0
| | | | SVN-Revision: 15219
* Use block events for the mounting/unmounting of external storage devices. ↵Jose Vasconcellos2009-01-304-13/+45
| | | | | | This handles both USB and IEEE1394 devices. It removes /sbin/usb-storage in favor of using the block hotplug event. There are dummy scripts to handle the plug in/out of USB and IEEE1394 devices for updating LEDs. Storage devices are mount as a sub-directory under /mnt. SVN-Revision: 14289
* allow ipv4 routes without gateway in configurationJo-Philipp Wich2008-12-221-2/+4
| | | | SVN-Revision: 13714
* package/base-files: allow ipv6 routes without gateway specifiedJo-Philipp Wich2008-11-281-1/+1
| | | | SVN-Revision: 13419
* fix up the network ifname in the network state when receiving iface/ifup eventsFelix Fietkau2008-11-281-0/+1
| | | | SVN-Revision: 13399
* network scripts: properly maintain the network state's list of assigned ↵Felix Fietkau2008-07-301-0/+21
| | | | | | interfaces SVN-Revision: 12026
* use default gateway for routes that have no gw specified, Signed off by: ↵John Crispin2008-06-061-4/+2
| | | | | | Brian J. Murrell SVN-Revision: 11380
* Here comes the new UCI. Enjoy :)Felix Fietkau2008-02-032-2/+1
| | | | SVN-Revision: 10367
* Add route6 option to setup IPv6 routes (#2528)Florian Fainelli2007-10-161-0/+29
| | | | SVN-Revision: 9337
* fix a race condition with dynamic interfaces and firewallingFelix Fietkau2007-08-041-3/+0
| | | | SVN-Revision: 8343
* use . /var/state/network instead of config_load to avoid a CONFIG_SECTIONS resetFelix Fietkau2007-07-131-1/+1
| | | | SVN-Revision: 7953
* fix static routes for dynamic interfaces (#1446)Felix Fietkau2007-07-121-0/+1
| | | | SVN-Revision: 7949
* added usb-storage hotplugingJohn Crispin2007-06-201-0/+13
| | | | SVN-Revision: 7684
* keep track of the network interface states (stored in uci format in ↵Felix Fietkau2007-06-161-0/+6
| | | | | | /var/state/network, overlay over /etc/config/network) SVN-Revision: 7643
* buggy script; nolonger usedMike Baker2007-05-011-33/+0
| | | | SVN-Revision: 7078
* remove automounting script for block devices - it's causing more problems ↵Felix Fietkau2007-04-121-25/+0
| | | | | | than it solves SVN-Revision: 6937
* add support for static routes - based on the patch from #1365Felix Fietkau2007-03-021-0/+40
| | | | SVN-Revision: 6457
* more reliable fix for handling pppFelix Fietkau2007-02-251-0/+5
| | | | SVN-Revision: 6356
* don't try to automount loopback devices (#1011)Felix Fietkau2006-12-201-1/+1
| | | | SVN-Revision: 5877
* small tweaks to the usb disk hotplug scriptsMike Baker2006-11-282-6/+5
| | | | SVN-Revision: 5667
* rename default/ to files/Felix Fietkau2006-11-223-0/+94
SVN-Revision: 5622