Make the creation of the fw_set-symlink optional, so it can be
disabled in user-builds so only people who know what they are
doing will mess with uboot-env.
Signed-off-by: Daniel Golle <dgolle@allnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28698 3c298f89-4303-0410-b956-a3cf2f4a3e73
This adds an init-script for generating /etc/fw_env.config from UCI in
case it doesn't exist yet.
Signed-off-by: Daniel Golle <dgolle@allnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28697 3c298f89-4303-0410-b956-a3cf2f4a3e73
zlib is a build-dependency, but in runtime zlib is not required,
see:
root@OpenWrt:/# ldd /usr/sbin/fw_printenv
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x2abb2000)
libc.so.0 => /lib/libc.so.0 (0x2abd4000)
ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0x2ab9a000)
Signed-off-by: Daniel Golle <dgolle@allnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28696 3c298f89-4303-0410-b956-a3cf2f4a3e73
* move AddDepends/nls to 001-depends.mk for proper use by other packages (closes: #7639)
* make kmod-usb-core use it
* fix deps generated from its arguments (as used in kmod-fs-hfsplus)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28668 3c298f89-4303-0410-b956-a3cf2f4a3e73
To prevent code duplication for clearing QoS firewall rules, support
"firewall stop" arguments to generate.sh to generate the necessary
script commands. Make use of this from qos-stop.
Signed-off-by: Kevin Locke <klocke@digitalenginesoftware.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28623 3c298f89-4303-0410-b956-a3cf2f4a3e73
Prefix the names of the iptables chains used for QoS with "qos_" to
allow for identification of QoS chains for removal across configuration
changes. When clearing QoS iptables chains, only remove chains with the
namespace prefix in order to preserve user and/or other package chains
in the mangle table.
Signed-off-by: Kevin Locke <klocke@digitalenginesoftware.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28622 3c298f89-4303-0410-b956-a3cf2f4a3e73
Adds symlinks for printf and wc to make life happier in the sysupgrade ramdisk.
Also make code more readable by escaping that overly long line.
Signed-off-by: Daniel Golle <dgolle@allnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28616 3c298f89-4303-0410-b956-a3cf2f4a3e73
The rdate applet proved to be too unreliable to obtain the current time on boot:
- public time servers are rare and often unreachable or overloaded
- rdate does not daemonize, it needs a network connection the moment it is started, leading to race conditions
- the /etc/config/timeserver configuration is overly complex and there is no reliable way to disable rdate invocations
- the time protocol as specified in RFC 868 is considered obsolete
This commit adds an init script /etc/init.d/sysntpd which starts and stops the busybox ntpd accordingly.
The builtin ntpd can be disabled by either disabling the init script, removing the symlink to busybox or
by clearing the timeserver list in /etc/config/system.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28612 3c298f89-4303-0410-b956-a3cf2f4a3e73
Compiling zlib produces zlib.pc (pkgconfig), but it is not currently
installed in staging_dir/usr/lib/pkgconfig. If it was included other
packages depending on zlib could easier be compiled.
Signed-off-by: Espen Jürgensen <espenjurgensen@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28591 3c298f89-4303-0410-b956-a3cf2f4a3e73