Felix Fietkau
7d67818ab1
Revert "add ifup -a to boot(), closes #4543 #2781" (r17515) Hotpluggable interfaces are already brought up before /etc/init.d/network boot and this change can break them, if the ifup -a command runs at the wrong time, also starts many interfaces twice, which can lead to issues with PPPoE.
...
SVN-Revision: 17516
16 years ago
Travis Kemen
1776830e64
add ifup -a to boot(), closes #4543 #2781
...
SVN-Revision: 17515
16 years ago
Travis Kemen
4c47562a37
extend logging functions
...
SVN-Revision: 17514
16 years ago
Felix Fietkau
6155fdf5d3
preinit: fix failsafe mode through ctrl+c on devices that do not provide a preinit.arch file
...
SVN-Revision: 17470
16 years ago
Geoff Levand
525d86686e
udev: Update udev package from udev-106 to udev-142
...
Update the init scripts have to use udevadm where appropriate.
The udev package no longer provides separate udev utilities
like udevtrigger and udevsettle. These have been incorporated
into the udev admin program udevadm.
Replace the udevextras sub package with config options to the udev
package.
Update the preinit script to check for '/lib/udev/devices', and
copy it to '/dev/ if it is found, then to conditionaly setup
/dev the old way with mknod etc. Udev now recommends using
the directory '/lib/udev/devices' to initialize the '/dev'
directory at startup.
Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
SVN-Revision: 17378
16 years ago
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
16 years ago
Felix Fietkau
7c32f45749
base-files: clean up init.d/fstab and port it to the new config_get
...
... also remove the unused noauto variable in swapon.
Signed-off-by: Malte S. Stretz <mss@apache.org>
SVN-Revision: 17159
16 years ago
Felix Fietkau
ae0745e240
base-files: port init.d/led to new config_get
...
... and don't call logger directly, rcS takes care of the correct redirection
Signed-off-by: Malte S. Stretz <mss@apache.org>
SVN-Revision: 17158
16 years ago
Felix Fietkau
2892e2f1d5
base-files: port init.d/boot to new config_get
...
... and localize some variables.
Signed-off-by: Malte S. Stretz <mss@apache.org>
SVN-Revision: 17157
16 years ago
Felix Fietkau
387b221aa1
base-files: port functions.sh to new config_get
...
Signed-off-by: Malte S. Stretz <mss@apache.org>
SVN-Revision: 17156
16 years ago
Felix Fietkau
4dbaccf0cd
base-files: allow default value for config_get
...
Signed-off-by: Malte S. Stretz <mss@apache.org>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 17155
16 years ago
Florian Fainelli
de3a491240
simplify action handling in rc.common ( #5558 )
...
SVN-Revision: 17012
16 years ago
Felix Fietkau
038807906f
change sysctl.conf to disable tcp ecn by default (based on discussion with marek who stumbled upon this, it creates hard-to-debug connectivity issues with providers/servers that still use buggy equipment)
...
SVN-Revision: 16499
16 years ago
Hamish Guthrie
590f3042fb
Removed extra ; in exec rule
...
SVN-Revision: 16243
16 years ago
Florian Fainelli
0be2193e40
fix drivers firmware loading with the new hotplug2, patch from Russell Senior
...
SVN-Revision: 16231
16 years ago
Gabor Juhos
9b5e65f101
base-files: set rules file for hotplug2 in the boot script ( closes #5235 )
...
SVN-Revision: 16215
16 years ago
Gabor Juhos
463a6f4bda
base-files: update command line for the new hotplug2
...
SVN-Revision: 16154
16 years ago
Felix Fietkau
cbd52550bd
rcS: wait for init scripts to complete before initiating the shutdown (patch from #5032 )
...
SVN-Revision: 15530
16 years ago
Jo-Philipp Wich
1c41493d74
base-files: make diag.sh stub working in bash
...
SVN-Revision: 15527
16 years ago
Nicolas Thill
2fdeecdb47
add an explicit 'sysinit' tag for logging initscripts output, instead of '' that was logged as is
...
SVN-Revision: 15323
16 years ago
Jo-Philipp Wich
f40eaba4df
fix broken logic in r15272, r15273
...
SVN-Revision: 15274
16 years ago
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
16 years ago
Jo-Philipp Wich
a03e00bbcf
base-files: remove redundant netmask handling in 10-routes
...
SVN-Revision: 15219
16 years ago
Felix Fietkau
cf152cff39
tweak some sysctl values for better performance
...
SVN-Revision: 15129
16 years ago
Felix Fietkau
de0332f86a
rename our /bin/login script to /bin/login.sh to avoid collisions with busybox - we always use -l on telnetd anyway
...
SVN-Revision: 15097
16 years ago
Felix Fietkau
714ffa3260
fix failsafe mode
...
SVN-Revision: 15096
16 years ago
Michael Büsch
20b5626363
Allow running without "logger" installed
...
SVN-Revision: 14938
16 years ago
Michael Büsch
088ea2fb6e
Support configurations without syslogd/klogd.
...
SVN-Revision: 14937
16 years ago
Felix Fietkau
11cf9ea728
move input device nodes to /dev/input
...
SVN-Revision: 14809
16 years ago
Hauke Mehrtens
3ac154fc9c
On shutdown disabled every mounted swap device. Fixes #4721 Thanks to Angel Marin
...
SVN-Revision: 14770
16 years ago
Florian Fainelli
1716050f0c
allow specifying port where to log ( #2019 )
...
SVN-Revision: 14396
16 years ago
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
16 years ago
Florian Fainelli
b065bc5310
increase default size of the connection tracking table, thanks Marc
...
SVN-Revision: 14283
16 years ago
Felix Fietkau
6d27b16e2b
fix $HOME in /etc/profile ( #4424 )
...
SVN-Revision: 13914
16 years ago
Jo-Philipp Wich
341c1dbdf5
package/base-files: fix chmod of /tmp/.uci, bump package revision
...
SVN-Revision: 13903
16 years ago
Jo-Philipp Wich
1cdaa2d3dc
allow ipv4 routes without gateway in configuration
...
SVN-Revision: 13714
16 years ago
Jo-Philipp Wich
7c4f0fcbe7
package/base-files: allow ipv6 routes without gateway specified
...
SVN-Revision: 13419
16 years ago
Felix Fietkau
5cc72a2874
fix up the network ifname in the network state when receiving iface/ifup events
...
SVN-Revision: 13399
16 years ago
Nicolas Thill
7218e6326f
make links to statup scripts in /etc/rc.d relative
...
SVN-Revision: 12659
17 years ago
Travis Kemen
91d3e6b05b
make option name optional
...
SVN-Revision: 12585
17 years ago
Felix Fietkau
2176ae1a6f
fix a race condition which would leave dnsmasq in infinite resolving recursion nirvana
...
SVN-Revision: 12424
17 years ago
John Crispin
12df593510
fixes broken if-then in led init script
...
SVN-Revision: 12411
17 years ago
Florian Fainelli
1673462564
Use busybox mount, could be overriden to use util-linux-ng for instance, thanks sn9
...
SVN-Revision: 12386
17 years ago
Felix Fietkau
8a08f95e42
upgrade to uci 0.5.0, adds list handling support
...
SVN-Revision: 12353
17 years ago
Nicolas Thill
257ee32b7d
disable ipv6 systcl call, as ipv6 is not enabled by default
...
SVN-Revision: 12351
17 years ago
Felix Fietkau
f27fd2ecc3
enable TCP ECN by default (see #3001 for more information)
...
SVN-Revision: 12334
17 years ago
Travis Kemen
99dd3e13fc
make opkg the default package manager, disable busybox ipkg from building by default
...
SVN-Revision: 12319
17 years ago
Florian Fainelli
38d1cb8cbd
Fix negative calculation of the tmpfs for devices with few RAM ( #3557 )
...
SVN-Revision: 12315
17 years ago
John Crispin
3403cbe948
remove /etc/functions.sh call from led hotplug script
...
SVN-Revision: 12312
17 years ago
Steven Barth
6b6d027172
added support for the timer-trigger to uci LED support
...
SVN-Revision: 12236
17 years ago