John Crispin
3787c32183
sysctl: read settings from /etc/sysctl.d/*.conf
...
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
2015-07-07 13:47:23 +00:00
John Crispin
533dfc39e3
base-files: drop 2 pointless hotplug trigger stubs
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 37001
2013-06-21 16:53:51 +00:00
Jo-Philipp Wich
acca7eadc4
package/base-files: change sysctl handling Move /etc/init.d/sysctl to index 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
2013-03-25 18:43:30 +00:00
Jo-Philipp Wich
272d95f0f1
base-files: remove rdate integration, add busybox ntpd init script and 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
2011-10-27 00:21:53 +00:00
Felix Fietkau
c2b5767572
base-files: move network related scripts to a separate package to make the transition to netifd easier
...
SVN-Revision: 28495
2011-10-20 15:01:06 +00:00
Jo-Philipp Wich
e0e6d1029e
base-files: use uci_toggle_state() to prevent unwanted aggregation of state vars ( #9711 )
...
SVN-Revision: 27616
2011-07-15 14:57:44 +00:00
Jo-Philipp Wich
fe8b9d5232
base-files: properly handle vlans on top of wireless interfaces
...
SVN-Revision: 26230
2011-03-18 18:24:51 +00:00
Jo-Philipp Wich
73468de8d1
base-files: fix sysctl handling, do not react on fake ifaces in route hotplug handler
...
SVN-Revision: 25713
2011-02-25 22:44:37 +00:00
Jo-Philipp Wich
875ff44592
base-files: - properly disable IPv6 on bridge ports - introduce accept_ra 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
2011-02-11 00:39:11 +00:00
Jo-Philipp Wich
79b22b246b
base-files: make the skipping of ppp interfaces in 10-net hotplug more explicit, this allows users to rely on hotplug events for ppp0 .. ppp9 interfaces spawned by other programs
...
SVN-Revision: 25354
2011-02-03 22:34:30 +00:00
Jo-Philipp Wich
9a996248d4
base-files: derive connect_time from uptime as local system time may warp due to rdate, ntp and other means
...
SVN-Revision: 24212
2010-12-01 19:55:24 +00:00
Jo-Philipp Wich
a8c3d1ab6d
base-files: save the connect time of interfaces in uci state
...
SVN-Revision: 24206
2010-12-01 17:37:32 +00:00
Jo-Philipp Wich
506db2a57e
base-files: add "mtu" option for route sections, allows setting per-route mtu values
...
SVN-Revision: 22003
2010-06-30 23:46:34 +00:00
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
...
SVN-Revision: 21655
2010-06-02 00:22:13 +00:00
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.
...
SVN-Revision: 21652
2010-06-01 21:43:52 +00:00
Jo-Philipp Wich
8bc961239b
base-files: 3g connection interfaces are now called "3g-*" - adjust 10-net hotplug handler to match them
...
SVN-Revision: 21591
2010-05-28 00:35:54 +00:00
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
...
SVN-Revision: 21495
2010-05-17 19:54:35 +00:00
Jo-Philipp Wich
ea06a67eac
base-files: use uci_get() wrapper ( #7312 )
...
SVN-Revision: 21490
2010-05-17 19:34:08 +00:00
Felix Fietkau
f9591d229a
base-files: do not bring up wlan interfaces from hotplug events, so that wrong network/wireless configs are more noticeable
...
SVN-Revision: 21379
2010-05-05 15:56:58 +00:00
Jo-Philipp Wich
63f49e43e6
base-files: add a hotplug handler for rdate
...
SVN-Revision: 20518
2010-03-27 17:13:33 +00:00
Felix Fietkau
bfeb96126d
add the block-mount package by Daniel Dickinson (cshore), replacing existing automount functionality
...
SVN-Revision: 19877
2010-02-26 22:45:39 +00:00
Jo-Philipp Wich
3634de3b80
base-files: try to activate hotplugged partitions as swap and fall back to lazy mount ( #6517 )
...
SVN-Revision: 19300
2010-01-23 21:58:01 +00:00
Jo-Philipp Wich
27da9d1984
base-files: move ipv6 module loading from setup_interface() to addif() in the hotplug call, this ensures that ipv6 is loaded before any interfaces or aliases with ip6addr option are configured ( #5356 )
...
SVN-Revision: 17217
2009-08-10 23:48:10 +00:00
Jo-Philipp Wich
f40eaba4df
fix broken logic in r15272, r15273
...
SVN-Revision: 15274
2009-04-19 17:12:02 +00:00
Jo-Philipp Wich
b0ea64c211
base-files: ( #4928 ) handle "option gateway 0.0.0.0" and "option gateway 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
2009-04-19 16:51:58 +00:00
Jo-Philipp Wich
a03e00bbcf
base-files: remove redundant netmask handling in 10-routes
...
SVN-Revision: 15219
2009-04-12 16:39:29 +00:00
Jose Vasconcellos
58b8cdb5fd
Use block events for the mounting/unmounting of external storage devices. 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
2009-01-30 20:48:42 +00:00
Jo-Philipp Wich
1cdaa2d3dc
allow ipv4 routes without gateway in configuration
...
SVN-Revision: 13714
2008-12-22 02:21:25 +00:00
Jo-Philipp Wich
7c4f0fcbe7
package/base-files: allow ipv6 routes without gateway specified
...
SVN-Revision: 13419
2008-11-28 22:45:16 +00:00
Felix Fietkau
5cc72a2874
fix up the network ifname in the network state when receiving iface/ifup events
...
SVN-Revision: 13399
2008-11-28 16:18:11 +00:00
Felix Fietkau
ee56e9ec59
network scripts: properly maintain the network state's list of assigned interfaces
...
SVN-Revision: 12026
2008-07-30 22:39:56 +00:00
John Crispin
51b28d44a9
use default gateway for routes that have no gw specified, Signed off by: Brian J. Murrell
...
SVN-Revision: 11380
2008-06-06 18:49:23 +00:00
Felix Fietkau
0cf1a58282
Here comes the new UCI. Enjoy :)
...
SVN-Revision: 10367
2008-02-03 06:48:15 +00:00
Florian Fainelli
e36f4396f6
Add route6 option to setup IPv6 routes ( #2528 )
...
SVN-Revision: 9337
2007-10-16 15:05:19 +00:00
Felix Fietkau
049dc2925b
fix a race condition with dynamic interfaces and firewalling
...
SVN-Revision: 8343
2007-08-04 13:26:41 +00:00
Felix Fietkau
a366b4ea98
use . /var/state/network instead of config_load to avoid a CONFIG_SECTIONS reset
...
SVN-Revision: 7953
2007-07-13 00:44:41 +00:00
Felix Fietkau
bfa7afbd22
fix static routes for dynamic interfaces ( #1446 )
...
SVN-Revision: 7949
2007-07-12 21:23:23 +00:00
John Crispin
2fe37ccdf6
added usb-storage hotpluging
...
SVN-Revision: 7684
2007-06-20 22:05:15 +00:00
Felix Fietkau
4f16e9cc3e
keep track of the network interface states (stored in uci format in /var/state/network, overlay over /etc/config/network)
...
SVN-Revision: 7643
2007-06-16 00:01:33 +00:00
Mike Baker
dda5964af5
buggy script; nolonger used
...
SVN-Revision: 7078
2007-05-01 22:28:55 +00:00
Felix Fietkau
ab8cb8d959
remove automounting script for block devices - it's causing more problems than it solves
...
SVN-Revision: 6937
2007-04-12 09:49:09 +00:00
Felix Fietkau
65b4654000
add support for static routes - based on the patch from #1365
...
SVN-Revision: 6457
2007-03-02 15:48:29 +00:00
Felix Fietkau
92feed28d8
more reliable fix for handling ppp
...
SVN-Revision: 6356
2007-02-25 13:45:45 +00:00
Felix Fietkau
354a4b31a4
don't try to automount loopback devices ( #1011 )
...
SVN-Revision: 5877
2006-12-20 05:29:52 +00:00
Mike Baker
64b7e4e4cf
small tweaks to the usb disk hotplug scripts
...
SVN-Revision: 5667
2006-11-28 18:37:37 +00:00
Felix Fietkau
59a06c71cb
rename default/ to files/
...
SVN-Revision: 5622
2006-11-22 23:30:57 +00:00