Imre Kaloz
6a4ecd05f0
the root password should be empty for real, like before
...
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 39650
2014-02-21 10:39:14 +00:00
John Crispin
7917a87d12
base-files: split /etc/init.d/boot into 2 files
...
this allows us to bind a procd trigger to system.@system[-1]
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39615
2014-02-18 13:33:40 +00:00
Jo-Philipp Wich
6ae1433ab9
base-files: expose taint flags in /etc/openwrt_release
...
SVN-Revision: 39437
2014-01-31 15:48:47 +00:00
Jo-Philipp Wich
73344b9c56
Add sysfixtime init script, replacement of luci_fixtime
...
Simply scan for the most recent file in /etc and set
system time to this file modification time if it's in the future
It allow some time dependent program to work immediatly
without waiting for ntpd to sync
v1: v2: bad approach
v3: simply scan /etc, thanks to Bastian Bittorf for the idea
v4: use sort -n, thanks to Catalin Patulea
v5: use [] instead of [[]], thanks to Andreas Mohr
v6: use openwrt style, thanks to Bastian Bittorf
Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr>
SVN-Revision: 39422
2014-01-29 13:17:03 +00:00
John Crispin
834204bda6
base-files: fix mount-utils incompatibility
...
Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
SVN-Revision: 39169
2013-12-27 21:15:09 +00:00
Luka Perkov
3ceb6b3274
base-files: fix whitespaces
...
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 39006
2013-12-09 11:30:14 +00:00
Luka Perkov
1df0179b28
base-files: don't enter failsafe if triggered by switch
...
Fixes failsafe issues with switches after r38725.
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 38770
2013-11-11 23:34:11 +00:00
John Crispin
c902a76f4d
base-files: fix typo in rfkill script
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38742
2013-11-11 18:12:30 +00:00
John Crispin
871744f5de
base-files: update rfkill script to work with slider buttons
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38729
2013-11-11 12:19:22 +00:00
John Crispin
243179f9f6
base-files: add a generic wps button handler
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38726
2013-11-11 12:19:10 +00:00
John Crispin
76506e7fa4
base-files: Make /etc/init.d/boot restartable
...
Only reload hostname and timezone config on /etc/init.d/boot restart.
Module loading and basic boot setup is only done during boot.
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
SVN-Revision: 38670
2013-11-07 12:45:57 +00:00
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
2013-09-17 21:45:34 +00:00
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
2013-07-25 20:28:36 +00:00
Luka Perkov
67f1d364b8
base-files/busybox: move ntpd init script from base-files to busybox
...
SVN-Revision: 37383
2013-07-17 22:24:45 +00:00
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
2013-07-11 17:00:54 +00:00
John Crispin
8069d87d3c
base-files: convert sysntpd init script to procd
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 37244
2013-07-11 17:00:35 +00:00
John Crispin
06ae364c3d
base-files: run readlink on initscript name before opening services
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 37241
2013-07-11 17:00:21 +00:00
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
2013-07-11 17:00:17 +00:00
John Crispin
9e36e10cf7
base-files: add 2 missing variable defines
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 37204
2013-07-08 16:35:02 +00:00
John Crispin
4c43cacce0
base-files: module loading is now handled by ubox/kmodloader
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 37003
2013-06-21 16:53:59 +00:00
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
2013-06-21 16:53:55 +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
Steven Barth
33c620773d
base-files: remove unnecessary early sysctl-hack
...
SVN-Revision: 36920
2013-06-11 14:10:45 +00:00
Steven Barth
e2f33bedfa
base-files: set default IPv6 forwarding value to 1
...
SVN-Revision: 36918
2013-06-11 13:30:18 +00:00
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
2013-06-10 08:24:02 +00:00
Steven Barth
3f67360012
base-files: use less entropy when generating ULAs
...
SVN-Revision: 36865
2013-06-06 09:52:00 +00:00
John Crispin
811d90ff40
mount_root: prepare base-files
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 36429
2013-04-25 19:02:32 +00:00
John Crispin
39469dea7f
boot: make use of kmodloader if it is available
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 36428
2013-04-25 19:02:28 +00:00
Steven Barth
4e8f7f37ed
Change default IPv6 config to enable DHCPv6-PD
...
SVN-Revision: 36384
2013-04-22 19:40:16 +00:00
Steven Barth
ea94d66b0f
Adapt default network configuration for IPv6
...
SVN-Revision: 36278
2013-04-09 08:03:08 +00:00
Jo-Philipp Wich
6bddf226d3
base-files: move sysctl init after boot
...
SVN-Revision: 36131
2013-03-26 10:02:58 +00:00
Jo-Philipp Wich
7aace3ee3e
base-files: fix bad start index in previous commit
...
SVN-Revision: 36130
2013-03-25 18:45:23 +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
John Crispin
f43b7934d2
make basefiles aware of procd
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 36003
2013-03-13 18:11:19 +00:00
Steven Barth
92ad26d1b6
base-files: Fix IPv6 early sysctls again * Kernel IPv6 /proc interface inconsistency caused races
...
SVN-Revision: 35417
2013-02-01 12:28:24 +00:00
Steven Barth
ea7c9c85a8
base-files: Fix race-conditions with IPv6 sysctls
...
SVN-Revision: 35368
2013-01-29 10:13:33 +00:00
Steven Barth
5f735b291f
base-files: remove IPv6-forwarding setting for all interfaces
...
SVN-Revision: 35344
2013-01-28 13:53:38 +00:00
Steven Barth
e0a338c969
base-files: Set default value for IPv6 forwarding
...
SVN-Revision: 35299
2013-01-22 16:47:09 +00:00
Jo-Philipp Wich
648bd409e3
base-files: use numerically prefixed uci-defaults names
...
SVN-Revision: 35218
2013-01-18 12:46:43 +00:00
Steven Barth
411d818008
base-files: rename ULA generation script
...
SVN-Revision: 35204
2013-01-17 16:16:02 +00:00
Steven Barth
847cd984b9
base-files: add support for ipv6-prefixes in connection with netifd
...
SVN-Revision: 35168
2013-01-15 13:07:51 +00:00
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
2012-12-22 18:56:09 +00:00
Luka Perkov
65efd09b78
base-files: we don't need /etc/functions.sh symlink anymore
...
SVN-Revision: 34802
2012-12-20 15:15:30 +00:00
Mirko Vogt
4d4b2d3ced
merge /lib/functions/boot.sh and /lib/functions.sh
...
SVN-Revision: 34794
2012-12-19 16:07:53 +00:00
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
2012-12-19 16:07:46 +00:00
Steven Barth
3b0e77ee6b
Remove default sysctl-entry for IPv6 here (races)
...
SVN-Revision: 34417
2012-11-29 20:14:04 +00:00
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
2012-11-25 17:20:49 +00:00
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
2012-10-11 06:45:02 +00:00
Imre Kaloz
c5e5e70ab0
it's time to break the barriers
...
SVN-Revision: 33666
2012-10-08 13:12:37 +00:00
Felix Fietkau
c7c649126f
base-files: remove obsolete entries from sysctl.conf ( #12236 )
...
SVN-Revision: 33532
2012-09-24 15:24:01 +00:00