Gabor Juhos
1552af3131
base-files: add mtd_find_chardev helper
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34648
12 years ago
Mirko Vogt
ee17703371
Revert "remove function find_mtd_part() from /lib/functions.sh"
...
Reverting commit 34641.
Function find_mtd_part() is needed by some scripts deployed
for certain targets but not including boot.sh after all.
Still, all this certainly needs some love.
SVN-Revision: 34642
12 years ago
Mirko Vogt
1521cdda0f
remove function find_mtd_part() from /lib/functions.sh
...
Since all scripts using this function include /lib/functions/boot.sh -
where this function is defined as well - it can be dropped
from /lib/functions.sh. Also avoids further confusion about this
function being declared and defined in two different places.
SVN-Revision: 34641
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
5ae2524d3a
base-files: use a natural mount syntax
...
Busybox built against musl-libc will choke on these otherwise, besides that
it is more natural to use the filesystem type, then options, then name, then
mountpoint.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 34308
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
Jo-Philipp Wich
dac5ed38b6
base-files: remove route enabled check in lib/functions/network.sh after netifd bump
...
SVN-Revision: 33391
12 years ago
Gabor Juhos
ca857b7a50
base-files: uci-defaults for rssileds
...
Adds capability to add uci-defaults defining RSSI LEDs
Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 33164
12 years ago
Jo-Philipp Wich
70aaa116eb
base-files: provide a sysupgrade -r (--restore-backup) option as convenience wrapper for tar -C / -x(v)zf
...
SVN-Revision: 33147
12 years ago
Florian Fainelli
fb9023bb8a
move LIB_SUFFIX from base-files to rules.mk
...
Some packages are going to need fixups based on LIB_SUFFIX
SVN-Revision: 33080
12 years ago
Jo-Philipp Wich
17dc1d5c44
base-files: fix option parsing of -F/--force parameter
...
SVN-Revision: 33075
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
12 years ago
Jo-Philipp Wich
ff3161a6c4
base-files: ensure that /sys is available during sysupgrade, some essential services like om-watchdog need it
...
SVN-Revision: 32587
12 years ago
Jo-Philipp Wich
b2e5c5f82e
base-files: implement network_get_dnsserver() and network_get_dnssearch() in /lib/functions/network.sh
...
SVN-Revision: 32531
12 years ago
Jo-Philipp Wich
e654014352
base-files: only consider enabled default routes when finding the wan iface ( #11774 )
...
SVN-Revision: 32525
12 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
12 years ago
Jo-Philipp Wich
f2dde4f5ba
base-files: allow wireless ifaces to be part of multiple networks
...
SVN-Revision: 32503
12 years ago
Felix Fietkau
3143f03568
toolchain: move eglibc-files from base-files to toolchain, it is packaged as part of the libc package
...
SVN-Revision: 32467
12 years ago
Jo-Philipp Wich
57a7257569
base-files: implement network_get_gateway(), network_get_gateway6(), network_find_wan() and network_find_wan6() in /lib/functions/network.sh
...
SVN-Revision: 32397
12 years ago
Jo-Philipp Wich
bfe966574f
base-files: enable shell tracing in initscripts when INIT_TRACE is set
...
SVN-Revision: 32340
12 years ago
Felix Fietkau
9a1d6f0678
base-files: override Build/Compile/Default instead of Build/Compile ( fixes #11667 )
...
SVN-Revision: 32339
12 years ago
Felix Fietkau
07826e391d
base-files: move all toolchain packages to a separate package directory 'toolchain'
...
SVN-Revision: 32169
12 years ago
Jo-Philipp Wich
9869b4da3c
base-files: implement network_defer_device() and network_ready_device() wrappers for upcoming netifd iface deferring support
...
SVN-Revision: 32106
12 years ago
Jo-Philipp Wich
6cdf25289c
base-files: add permission exceptions, do not clobber shadow permissions - based on patch by Mark Mentovai <mark@moxienet.com>
...
SVN-Revision: 32073
12 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
12 years ago
Jo-Philipp Wich
a044a43d06
base-files: make user_add() populate the shadow db as well
...
SVN-Revision: 32063
12 years ago
Jo-Philipp Wich
9ae901445b
/etc/functions.sh => /lib/functions.sh
...
SVN-Revision: 32062
12 years ago
Gabor Juhos
eca7502dfd
base-files: add LED specific functions to /lib/functions/uci-defaults
...
SVN-Revision: 31991
12 years ago
Felix Fietkau
8a9e94b077
base-files: remove base-files-network, netifd is the only supported option now
...
SVN-Revision: 31980
12 years ago
Jo-Philipp Wich
c11151bc70
base-files: add network_is_up()
...
SVN-Revision: 31978
12 years ago
Jo-Philipp Wich
bf52cbf108
base-files: let network_get_device() return the l3 interface, introduce network_get_physdev() to obtain the underlying iface (if applicable)
...
SVN-Revision: 31960
12 years ago
Jo-Philipp Wich
8ef9450b37
base-files: add network_get_device() to network.sh
...
SVN-Revision: 31937
12 years ago
Jo-Philipp Wich
f1d04190c5
base-files: introduce /lib/functions/network.sh This file will contain common procedures to deal with network interfaces. Initially provides network_get_ipaddr(), network_get_ipaddr6(), network_get_subnet() and network_get_subnet6() to determine the primary IP addresses or subnets of a given logical interface.
...
SVN-Revision: 31935
12 years ago
Felix Fietkau
166db84309
base-files: kill ubusd and udhcpc on sysupgrade as well
...
SVN-Revision: 31852
12 years ago
Felix Fietkau
5d6628a88c
base-files: allow sysupgrade to kill netifd, fixes pppd shutdown on upgrade
...
SVN-Revision: 31851
12 years ago
Gabor Juhos
6aec1d72c2
package/base-files: copy /lib/functions.sh to the ramfs on sysupgrade
...
SVN-Revision: 31842
12 years ago
Felix Fietkau
5eed1d8f6b
enable netifd by default and add its config variable to PKG_CONFIG_DEPENDS in a few relevant places
...
SVN-Revision: 31730
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
Mirko Vogt
232b7aa65b
remove special treatment when using glibc - support got dropped
...
SVN-Revision: 31504
13 years ago
Mirko Vogt
334fd4199b
purge support for glibc - use eglibc instead!
...
for reference: http://www.mail-archive.com/openwrt-devel@lists.openwrt.org/msg13425.html
SVN-Revision: 31503
13 years ago
Florian Fainelli
129afe12b7
base-files: fix typo in 05_firstboot_skip script ( #11359 )
...
SVN-Revision: 31492
13 years ago
Felix Fietkau
3678ba60ca
base-files: rename internal variables in config_foreach to make namespace conflicts more unlikely
...
SVN-Revision: 31431
13 years ago