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
2012-08-13 14:01:37 +00:00
Jo-Philipp Wich
b2e5c5f82e
base-files: implement network_get_dnsserver() and network_get_dnssearch() in /lib/functions/network.sh
...
SVN-Revision: 32531
2012-06-29 19:04:11 +00:00
Jo-Philipp Wich
e654014352
base-files: only consider enabled default routes when finding the wan iface ( #11774 )
...
SVN-Revision: 32525
2012-06-29 11:58:35 +00:00
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
2012-06-17 11:50:50 +00:00
Jo-Philipp Wich
9869b4da3c
base-files: implement network_defer_device() and network_ready_device() wrappers for upcoming netifd iface deferring support
...
SVN-Revision: 32106
2012-06-07 14:55:26 +00:00
Gabor Juhos
eca7502dfd
base-files: add LED specific functions to /lib/functions/uci-defaults
...
SVN-Revision: 31991
2012-05-29 16:39:16 +00:00
Jo-Philipp Wich
c11151bc70
base-files: add network_is_up()
...
SVN-Revision: 31978
2012-05-29 02:03:25 +00:00
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
2012-05-29 00:20:16 +00:00
Jo-Philipp Wich
8ef9450b37
base-files: add network_get_device() to network.sh
...
SVN-Revision: 31937
2012-05-28 03:24:56 +00:00
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
2012-05-28 03:15:02 +00:00
Felix Fietkau
6f46704743
base-files: split service related functions off to /lib/functions/service.sh
...
SVN-Revision: 31042
2012-03-20 14:29:50 +00:00
Gabor Juhos
6c61d7cbf1
base-files: remove trailing whitespaces from lib/functions/boot.sh
...
SVN-Revision: 30776
2012-03-02 11:17:30 +00:00
Gabor Juhos
561f4d2840
base-files: add lib/functions/uci-defaults.sh
...
SVN-Revision: 29384
2011-12-01 22:48:46 +00:00
Felix Fietkau
66bcd1d049
base-files: add initial support for mounting overlayfs
...
SVN-Revision: 26207
2011-03-17 19:09:39 +00:00
Michael Büsch
e6100a161b
boot.sh: Tabs are used for indent. Also use tabs in jffs2_ready()
...
SVN-Revision: 25635
2011-02-20 22:40:47 +00:00
Michael Büsch
16a300ea66
base-files: Add "-o noatime" to mount wrapper
...
noatime is cheaper than default relatime.
SVN-Revision: 25634
2011-02-20 22:39:08 +00:00
Jo-Philipp Wich
a8efa34da3
Fix permissions for /etc and other dirs after clean flash ( #6039 )
...
During the first OpenWrt boot after a clean flash (when the jffs2
partition is not yet initialized) tmpfs is used instead of the usual
jffs2 overlay filesystem. If this tmpfs is mounted with default
options, all directories created there (/etc, /etc/config, other
subdirectories in /etc) get permissions 1777 by default, and these
permissions then persist in the created jffs2 at least until
subsequent sysupgrade. Mounting tmpfs with mode=0755 fixes the
permission problem.
Signed-off-by: Sergey Vlasov <vsu@altlinux.ru>
SVN-Revision: 23906
2010-11-07 00:26:00 +00:00
Daniel Dickinson
18b473ca9b
base/block-extroot, base/block-mount: Modified preinit and block-extroot and block-mount so that use of block-mount and block-extroot do not require that block-extroot, block-mount, nor the kernel modules they depend, on are required to included in the image. That is block-extroot and dependencies may now be installed as modules onto the jffs2 part of a squashfs system and it will work. In addition packages which are installed into the jffs2 of a squashfs system may now affect preinit, so long as they do not require execution of commands that occur before the merging of the jffs2 and built-in (squashfs) preinit scripts is done.
...
Thanks jow for the preinit merge stuff!
SVN-Revision: 23110
2010-09-23 13:58:05 +00:00
Daniel Dickinson
1385904dfa
base-files: Add function pi_include the /lib/functions/boot.sh used by preinit, which safely sources files as well as working correctly whether the script using it is a package added to the jffs2 part of a squashfs or built into an image or on some other root filesystem.
...
SVN-Revision: 23099
2010-09-19 23:29:40 +00:00
Jo-Philipp Wich
d6a142375b
base-files: fix a preinit hang in jffs2_ready() when no rootfs_data partition is found ( #7362 )
...
SVN-Revision: 21511
2010-05-20 05:57:54 +00:00
Florian Fainelli
7af8ee0481
change from /jffs to /overlay, patch from Daniel Dickinson
...
SVN-Revision: 20356
2010-03-21 17:16:50 +00:00
Jo-Philipp Wich
1968fb8da3
base-files: force preinit to use busybox mount ( #6797 )
...
SVN-Revision: 20176
2010-03-13 02:59:05 +00:00
Felix Fietkau
9be4598569
add block-extroot, a package for using an external filesystem as rootfs (patch by cshore)
...
SVN-Revision: 19880
2010-02-26 22:46:10 +00:00
Felix Fietkau
56bc02a305
add preinit modularization work by Daniel Dickinson (cshore)
...
SVN-Revision: 19331
2010-01-25 17:11:17 +00:00