John Crispin
950428fb1b
base-files: add a post start hook for procd managed services
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38024
11 years ago
John Crispin
3e54dbbf60
base-files: be verbose when entering failsafe due to a button being pressed
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 37535
11 years ago
Luka Perkov
67f1d364b8
base-files/busybox: move ntpd init script from base-files to busybox
...
SVN-Revision: 37383
12 years ago
John Crispin
8eb56a88a4
procd: add a small script that handles config reloads until configd is ready
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 37248
12 years ago
John Crispin
8069d87d3c
base-files: convert sysntpd init script to procd
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 37244
12 years ago
John Crispin
06ae364c3d
base-files: run readlink on initscript name before opening services
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 37241
12 years ago
John Crispin
523114e741
base-file: usbfs is no longer mounted under /proc/bus/usb
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 37240
12 years ago
John Crispin
9e36e10cf7
base-files: add 2 missing variable defines
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 37204
12 years ago
John Crispin
4c43cacce0
base-files: module loading is now handled by ubox/kmodloader
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 37003
12 years ago
John Crispin
d0db343fc4
base-files: /etc/init.d/rcS is no longer needed, procd handles this for us now
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 37002
12 years ago
John Crispin
533dfc39e3
base-files: drop 2 pointless hotplug trigger stubs
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 37001
12 years ago
Steven Barth
33c620773d
base-files: remove unnecessary early sysctl-hack
...
SVN-Revision: 36920
12 years ago
Steven Barth
e2f33bedfa
base-files: set default IPv6 forwarding value to 1
...
SVN-Revision: 36918
12 years ago
John Crispin
9353e01af4
base-files: change PATH order
...
This allows packages to override busybox applets by placing the new
binaries in /usr/{sbin,bin}
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 36890
12 years ago
Steven Barth
3f67360012
base-files: use less entropy when generating ULAs
...
SVN-Revision: 36865
12 years ago
John Crispin
811d90ff40
mount_root: prepare base-files
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 36429
12 years ago
John Crispin
39469dea7f
boot: make use of kmodloader if it is available
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 36428
12 years ago
Steven Barth
4e8f7f37ed
Change default IPv6 config to enable DHCPv6-PD
...
SVN-Revision: 36384
12 years ago
Steven Barth
ea94d66b0f
Adapt default network configuration for IPv6
...
SVN-Revision: 36278
12 years ago
Jo-Philipp Wich
6bddf226d3
base-files: move sysctl init after boot
...
SVN-Revision: 36131
12 years ago
Jo-Philipp Wich
7aace3ee3e
base-files: fix bad start index in previous commit
...
SVN-Revision: 36130
12 years ago
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
12 years ago
John Crispin
f43b7934d2
make basefiles aware of procd
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 36003
12 years ago
Steven Barth
92ad26d1b6
base-files: Fix IPv6 early sysctls again * Kernel IPv6 /proc interface inconsistency caused races
...
SVN-Revision: 35417
12 years ago
Steven Barth
ea7c9c85a8
base-files: Fix race-conditions with IPv6 sysctls
...
SVN-Revision: 35368
12 years ago
Steven Barth
5f735b291f
base-files: remove IPv6-forwarding setting for all interfaces
...
SVN-Revision: 35344
12 years ago
Steven Barth
e0a338c969
base-files: Set default value for IPv6 forwarding
...
SVN-Revision: 35299
12 years ago
Jo-Philipp Wich
648bd409e3
base-files: use numerically prefixed uci-defaults names
...
SVN-Revision: 35218
12 years ago
Steven Barth
411d818008
base-files: rename ULA generation script
...
SVN-Revision: 35204
12 years ago
Steven Barth
847cd984b9
base-files: add support for ipv6-prefixes in connection with netifd
...
SVN-Revision: 35168
12 years ago
Felix Fietkau
bbc6694d98
base-files: add basic procd integration, let procd start (and restart) ubus instead of having an ubus init script
...
SVN-Revision: 34866
12 years ago
Luka Perkov
65efd09b78
base-files: we don't need /etc/functions.sh symlink anymore
...
SVN-Revision: 34802
12 years ago
Mirko Vogt
4d4b2d3ced
merge /lib/functions/boot.sh and /lib/functions.sh
...
SVN-Revision: 34794
12 years ago
Mirko Vogt
439a869090
Do not overload mount-call - trying to reduce confusion
...
The behaviour of calling 'mount' differed depending on whether it called
the busybox-mount, the mount of util-linux, the mount defined in
/lib/functions.sh and /lib/functions/boot.sh
/etc/preinit even included /lib/functions.sh and /lib/functions/boot.sh,
both re-defining 'mount'.
SVN-Revision: 34792
12 years ago
Steven Barth
3b0e77ee6b
Remove default sysctl-entry for IPv6 here (races)
...
SVN-Revision: 34417
12 years ago
Gabor Juhos
38fced86ee
base-files: add support for the morse LED trigger
...
Write "delay" and "message" options to their respective files,
allowing Morse code message configuration through UCI.
The delay (dit length) defaults to 150ms (about 8 words per minute,
suitable for beginners).
Signed-off-by: Petr Viktorin <encukou@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34380
12 years ago
Florian Fainelli
d3f22617a2
base-files: skip LEDs handled by rssileds in led init-script
...
Without this, /etc/init.d/led will try to set the non-existing 'rssi' trigger.
This doesn't harm as the kernel will refuse this setting, but it outputs some
ugly log-lines:
Jun 24 10:15:19 OpenWrt user.info sysinit: setting up led RSSILOW
Jun 24 10:15:19 OpenWrt user.info sysinit: sh: write error: Invalid argument
...
In order to avoid this, skip LEDs with trigger = "rssi" in /etc/init.d/led
Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 33717
12 years ago
Imre Kaloz
c5e5e70ab0
it's time to break the barriers
...
SVN-Revision: 33666
12 years ago
Felix Fietkau
c7c649126f
base-files: remove obsolete entries from sysctl.conf ( #12236 )
...
SVN-Revision: 33532
12 years ago
Florian Fainelli
78f4cf3d70
base-files: release an attached loop device on umounting
...
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
SVN-Revision: 33477
12 years ago
Jo-Philipp Wich
2165240c32
base-files: make file compare silent in migrate-sysctl
...
SVN-Revision: 33449
12 years ago
Jo-Philipp Wich
0fd1fb6252
base-files: add uci-defaults script to migrate sysctl.conf ( #12196 )
...
SVN-Revision: 33448
12 years ago
Florian Fainelli
31e46b4293
base-files: check for ldd presence and executability ( #11991 )
...
SVN-Revision: 33057
12 years ago
Florian Fainelli
6afd1725f1
base-files: fix detection of standalone ldd
...
When standalone ldd is selected in config the binary is installed in /usr/bin/ldd.
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
SVN-Revision: 32891
12 years ago
Vasilis Tsiligiannis
9ab1df3f48
base-files: Modernize hotplug2 rules ( #11368 )
...
SVN-Revision: 32711
13 years ago
Felix Fietkau
6c2a295245
base-files: enable TCP timestamps, enable sack/dsack. (patch by Dave Täht)
...
A year of testing in the cerowrt project shows not using timestamps
to be a very bad idea in nearly any TCP at speeds above a few Mbit.
Lastly sack/dsack help on recovery from larger amounts of packet
loss.
SVN-Revision: 32513
13 years ago
Jo-Philipp Wich
bfe966574f
base-files: enable shell tracing in initscripts when INIT_TRACE is set
...
SVN-Revision: 32340
13 years ago
Jo-Philipp Wich
5e84df6bac
base-files: ship a static initial shadow db instead of creating it from passwd with sed, this fixes registering of users at compile time
...
SVN-Revision: 32064
13 years ago
Jo-Philipp Wich
9ae901445b
/etc/functions.sh => /lib/functions.sh
...
SVN-Revision: 32062
13 years ago
Jonas Gorski
80650c9475
base-files: wait for wifi modules to settle
...
On slower devices wifi drivers might take too long for detecting
devices, resulting in the wifi detect call not seeing them.
This was observed on a bcm6348 with bcm4318 wifi. Adding a one second
pause was enough for b43 to expose the device.
SVN-Revision: 31639
13 years ago