acinonyx
c85dbca33f
[package] base-files: Fix IPv6 address and route adding on aliases with no IPv4 address configured
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28241 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-09-14 13:37:44 +00:00
acinonyx
e83e95ad53
Revert "[package] base-files: Add support for assigning multiple IPv6 addresses on an interface"
...
Multiple IPv6 addresses should be handled with alias sections
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28240 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-09-14 13:37:40 +00:00
acinonyx
e926403b86
[package] base-files: Add support for assigning multiple IPv6 addresses on an interface
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28222 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-09-12 21:07:00 +00:00
nbd
0b45693152
base-files: remove an old network tunable tweak which is messing up network stack performance on modern systems
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28126 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-29 23:34:11 +00:00
jow
408dcd4945
[package] base-files: fix arp() procedure to properly detect /usr/bin/arp
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27965 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-12 14:34:39 +00:00
nbd
2ed51448ae
base-files: warn when calling /etc/init.d/<script> enable and neither START nor STOP is defined
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27797 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-27 09:02:10 +00:00
jow
6f259421e5
[package] base-files: use "reboot -f" after sysupgrade to prevent executing deleted init scripts
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27776 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-25 22:19:55 +00:00
jow
4e88a660b0
[package] base-files: attempt bring up related wifi devices when calling ifup
...
If a user invoked /sbin/ifup to bring up an interface, the setup used to fail
in case of wireless networks tied to a non-bridged interface definition.
Likewise, the bringup of "lan" in the default configuration will reinitialize
the bridge but do not re-join the wireless network to it, requiring an extra
call to /sbin/wifi (which might not be possible anymore due to a severed link
if connected wirelessly).
The changeset modifies the "ifup" command to search for related wireless
devices and call "wifi up" on them if applicable. This way the commands for
wireless and non-wireless interfaces are unified from a cli point of view.
The "ifup -a" case has not been changed to keep the logic of the
/etc/init.d/network boot sequence. This might be changed later.
Solves #9763 .
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27720 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-22 00:21:20 +00:00
jow
906ce37696
[package] base-files: implement a generic mechanism to map per-interface sysctls to uci.
...
- option ipv4_xyz is mapped to /proc/sys/net/ipv4/{conf,neigh}/xyz
- option ipv6_xyz is mapped to /proc/sys/net/ipv6/{conf,neigh}/xyz
This allows e.g. "option ipv6_proxy_ndp 1" to enable NDP proxying on wan.
Fixes ticket #8699 .
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27653 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-17 17:10:30 +00:00
jow
e8ba921548
[package] base-files: add -h and --help options to sysupgrade ( #9728 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27630 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-17 09:27:14 +00:00
jow
108528b2ce
[package] base-files: use uci_toggle_state() to prevent unwanted aggregation of state vars ( #9711 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27616 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-15 14:57:44 +00:00
cshore
4e5d6449f6
[package] base-files: preinit: Fixed sourcing of diag.sh in /etc/preinit. This caused errors due to frequent use of /proc/cpuinfo to determine board name to pick led layout. Now diag.sh (which only defines set_state and any helper functions) is sourced by a proper preinit function during preinit_main, which is after /proc has been brought up, unlike in /etc/preinit
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27501 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-07 02:52:02 +00:00
jow
56801fec4e
[package] base-files: pass conloglevel to syslogd ( #9463 , #9647 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27400 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-03 15:11:58 +00:00
nbd
83366afdc5
base-files: do not use the relinked libgcc, fixes c++ exception handling issues ( #9185 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27347 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-02 06:50:15 +00:00
jow
63ef78f3da
[toolchain] add gfortran compiler support ( #9600 , patch from Xiangfu Liu via Qi hardware)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27262 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-23 11:46:24 +00:00
jow
ada8f6b917
[package] base-files: assume a default ipv6 prefix size of /64, thats what the majority of users mean when they just specify an ip address
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27147 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-09 12:36:30 +00:00
jow
00938663e2
[package] base-files: if an ip6addr without a prefix is given, assume /128 - otherwise the busybox utilities will interpret it as /0 and create an invalid default route
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27145 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-09 12:25:48 +00:00
jow
83f0561da1
[package] base-files: fix error reporting for unsupported protocols on virtual interfaces
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27132 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-07 23:25:43 +00:00
nbd
7c8a20940f
base-files: do not write to /etc/config/wireless at boot time unless a new interface was found
...
eliminates unnecessary flash write cycles at every boot
patch by Peter Wagner (tripolar)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27127 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-07 17:00:43 +00:00
nbd
5ba8c47f86
base-files: make the MAC address of bridge interfaces sticky to avoid ARP issues on wifi re-configuration
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26990 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-24 09:31:37 +00:00
jow
f11fc7ea74
[package] base-files: mark /etc/crontabs/ as config directory
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26986 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-24 09:27:23 +00:00
jow
5d2766e7eb
[PATCH] ipcalc.sh CIDR notation
...
Hi,
the attached patch makes ipcalc.sh accept IP/Netmask combinations in
CIDR notation. Before you could only do:
# sh ipcalc.sh 192.168.0.0 255.255.255.0 1 10
IP=192.168.0.0
NETMASK=255.255.255.0
BROADCAST=192.168.0.255
NETWORK=192.168.0.0
PREFIX=24
START=192.168.0.1
END=192.168.0.11
with this patch you can also execute it with:
sh ipcalc.sh 192.168.0.0/24 1 10
IP=192.168.0.0
NETMASK=255.255.255.0
BROADCAST=192.168.0.255
NETWORK=192.168.0.0
PREFIX=24
START=192.168.0.1
END=192.168.0.11
The patch is based on #1260 [1], i just changed one line to calculate
the START end END ips right. I wonder why that never got included. If
there is no reason not to do i would like to ask you to commit that
patch, because its a functionality i (and probably others) miss quite often.
Btw, i also fixed 4 useless tabs, that might look a bit strange in the
patch.
Regards, Manuel
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26930 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-18 09:50:06 +00:00
jow
6f14855dac
[package] base-files: retrigger usb coldplug after module loading, solves usb_modeswitch on boot and possibly others ( #9352 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26848 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-08 10:25:58 +00:00
juhosg
fa0e25197e
base-files: fix a typo in etc/banner
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26841 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-07 09:23:33 +00:00
jow
8ade1960dd
[package] base-files: cleanup permissions of device files in common hotplug rules ( #9211 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26808 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-03 19:37:59 +00:00
jow
5f715e00db
[package] base-files: fix stale space in eglibc library install section ( #9270 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26720 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-19 13:18:39 +00:00
jow
cd427d04f0
base-files: return success on lib-copying with external toolchain
...
when using an external toolchain the base-files package copies libc, libgcc and
others from the library directory.
The file list is given as following in the .config:
CONFIG_LIBC_FILE_SPEC="./lib/ld{-*.so,-linux*.so.*} ./lib/lib{anl,c,cidn,crypt,dl,m,nsl,nss_dns,nss_files,resolv,util}{-*.so,.so.*}"
Because the filenames are composed with different endings, not all files exist
and will be skipped. Currently, this works only if the last composed file
(util.so.*) really exists. At the moment this works - but only if you don't add
a new file like 'uClibc'.
Adding it at the end '...resolv,util,uClibc}{-*.so,.so.*}' will lead to this
message, because the combination 'libuClibc.so.*' doesn't exist and Make will
evaluate the last copy statement of the for loop.
--- Message Snippet ---
cp: cannot stat `/home/user/Desktop/code/meetwise/toolchain/staging_dir/toolchain-arm_v5te_gcc-linaro_uClibc-0.9.32_eabi/./lib/libnss_files.so.*': No such file or directory
cp: cannot stat `/home/user/Desktop/code/meetwise/toolchain/staging_dir/toolchain-arm_v5te_gcc-linaro_uClibc-0.9.32_eabi/./lib/libresolv-*.so': No such file or directory
cp: cannot stat `/home/user/Desktop/code/meetwise/toolchain/staging_dir/toolchain-arm_v5te_gcc-linaro_uClibc-0.9.32_eabi/./lib/libresolv.so.*': No such file or directory
cp: cannot stat `/home/user/Desktop/code/meetwise/toolchain/staging_dir/toolchain-arm_v5te_gcc-linaro_uClibc-0.9.32_eabi/./lib/libuClibc.so.*': No such file or directory
make[2]: *** [/home/user/Desktop/code/meetwise/openwrt/bin/at91/packages/libc_-68_at91.ipk] Error 1
make[2]: Leaving directory `/home/user/Desktop/code/meetwise/openwrt/package/base-files'
make[1]: *** [package/base-files/compile] Error 2
make[1]: Leaving directory `/home/user/Desktop/code/meetwise/openwrt'
make: *** [package/base-files/compile] Error 2
--- /Message Snippet/ ---
To fix this unwanted behaviour I added an extra 'exit 0' to each for-loop and
make ignores non-existing files as before.
Signed-off-by: Sven Bachmann <dev@mcbachmann.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26623 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-12 20:37:43 +00:00
acinonyx
f6d755eda4
[package] base-files: Use -h instead of deprecated -L for symlink check
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26485 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-05 15:09:43 +00:00
acinonyx
fdf5c18152
[package] base-files: fix minor problem in init.d/boot
...
The script tests for the existance of /dev/root with test -e which fails if
/dev/root is a dangling symlink making the call to ln fail.
Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26483 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-05 15:09:32 +00:00
cshore
198ea09e92
[package] block-mount base-files: Added additional check to pi_include to ensure that a directory used with pi_include actually contains files matching the souring pattern because if not the shell dies due to an empty string in for statement. Added /lib/functions/fsck as an empty dir to block-mount. This combination fixes a warning which generates a lot of bug reports, without panicking the kernel like the last attempt.
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26479 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-05 12:12:57 +00:00
nbd
8d65fda8a8
base-files: bridge config, avoid having a random ipv6 ll address
...
So far, we are setting the bridge interface up before having added any
bridge interface ports. This results in the bridge assigning a random
mac address to its bridge interface and therefore IPv6 assigning a
matching link local address to the bridge interface as soon as the
bridge interface is up. After adding the first bridge port interface,
the bridge's mac address is reset correctly, however the IPv6 link
local address stays the same.
This commit ensures that we are at least having the IPv6 link local
address of the first interface added to the bridge instead of a random
one.
Signed-off-by: Linus Lüssing <linus.luessing@web.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26426 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-03 01:23:45 +00:00
jow
46dd8a523b
[package] base-files: properly handle vlans on top of wireless interfaces
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26230 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-18 18:24:51 +00:00
nbd
db0a51c50a
base-files: overlayfs whiteouts depend on a specific xattr entry, which does not get preserved by the tmpfs->overlay copy. work around this by cleaning all copied "(overlay-whiteout)" symlinks after the switch to jffs2
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26208 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-17 19:09:43 +00:00
nbd
ac2c331815
base-files: add initial support for mounting overlayfs
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26207 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-17 19:09:39 +00:00
jow
9f59a573f4
[package] base-files: update sysctl.conf for modern kernels
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26204 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-17 15:35:41 +00:00
acinonyx
898495ff41
[package] base-files: Autodetect newly added wireless hardware
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26166 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-15 00:44:15 +00:00
nbd
ba16e1040b
base-files: link libpthread against libc
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26161 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-14 19:27:45 +00:00
nbd
6c70430aed
base-files: add a default /etc/services files
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26142 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-13 19:47:42 +00:00
nbd
39ab13caff
base-files: add users ftp (for ftp servers), network (network related daemons such as tor, quagga, ...)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26138 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-13 19:10:28 +00:00
nbd
55291327c3
base-files: add an ftp group as well
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26136 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-13 19:04:32 +00:00
nbd
2e230262d0
base-files: add a few default groups to /etc/group so that we can get rid of a few postinst scripts
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26133 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-13 18:56:34 +00:00
nbd
0645951452
base-files: make library relinking uclibc specific and fix libpthread installation for the non-relinked variant
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26003 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-10 12:27:46 +00:00
nbd
fc968f9ae4
base-files: only relink libraries if the linaro toolchain is selected
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25983 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-09 20:36:29 +00:00
nbd
0e2d55e3e3
gcc: move the optimized assembler helpers back into the static libgcc and skip relinking for this arch. due to relocation constraints, the assembler functions cannot be in the shared libgcc and must always be linked in statically
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25952 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-08 13:10:11 +00:00
nbd
9ad0be1cd3
base-files: the relinked libpthread needs to be linked against libdl, otherwise calls to dlopen() fail ( fixes #8978 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25950 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-08 12:48:36 +00:00
nbd
9135a7a4fa
base-files: fix Build/Compile override handling, fixes ar7 compile
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25911 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-06 22:36:42 +00:00
nbd
e34751cb82
base-files: do not build or use libgcc on m68k and avr32
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25852 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-03 14:50:00 +00:00
nbd
d082297902
base-files: relink uclibc and libgcc libraries to remove leftovers of the statically linked initial libgcc
...
saves a few kb and gets rid of unused not exported functions as well
should also improve the reliability of mklibs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25800 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-01 05:40:38 +00:00
jow
13bfc6e1cf
[package] base-files: fix sysctl handling, do not react on fake ifaces in route hotplug handler
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25713 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-25 22:44:37 +00:00
mb
4dbef44bbe
boot.sh: Tabs are used for indent. Also use tabs in jffs2_ready()
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25635 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-20 22:40:47 +00:00
mb
ec5075b896
base-files: Add "-o noatime" to mount wrapper
...
noatime is cheaper than default relatime.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25634 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-20 22:39:08 +00:00
mb
817b05d3d3
Fix whitespace
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25632 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-20 21:25:45 +00:00
hcg
9c5c489cfe
[package] base-files: Add /etc/nsswitch.conf to targets running glibc/eglibc, otherwise name resolution fails
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25568 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-18 10:37:26 +00:00
nbd
cac91fedd5
base-files: librt should depend on libpthread, not the other way around
...
In uClibc 0.9.32 as well as recent versions of glibc and eglibc, librt
depends on libpthread.
Signed-off-by: Mark Mentovai <mark@moxienet.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25548 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-16 02:42:24 +00:00
nbd
9ba2318fc7
base-files: remove a stale reference to /usr/lib/common.awk (thx, swalker)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25528 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-13 19:06:20 +00:00
kaloz
d37749f1ac
it's time for some attitude adjustment ;)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25514 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-13 11:20:09 +00:00
nbd
5374218107
remove the shared object stubs of libnsl and libresolv - let the compiler use the static variants instead
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25511 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-13 03:26:10 +00:00
nbd
1c53c80400
base-files: /usr/lib/common.awk is only used by /bin/ipcalc.sh, move the code there
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25495 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-13 01:44:57 +00:00
jow
e662ecd9ca
[package] base-files: remove ptbtime3 rdate server, its dead
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25479 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-12 17:54:01 +00:00
jow
6e12beb80b
[package] base-files: update rdate server list
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25478 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-12 17:46:36 +00:00
jow
b543bf484a
[package] base-file: cleanup ipv6 enabling in unbridge
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25473 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-12 16:14:15 +00:00
jow
370e79ea76
[package] base-files:
...
- properly disable IPv6 on bridge ports
- introduce accept_ra option, defaults to true for dhcp interfaces, false for others
- introduce send_rs option, defaults to true for static interfaces, false for others
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25454 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-11 00:39:11 +00:00
jow
f79493eb95
[package] base-files: derive lease_acquired dhcp state var from /proc/uptime
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25452 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-10 20:05:05 +00:00
acinonyx
e81aa53453
[package] base-files: Add include for target specific hotplug rules
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25415 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-07 22:28:09 +00:00
mb
98292bc12a
hotplug2 rules: Run /etc/hotplug.d/firmware/ scripts (if any) on firmware load events
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25383 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-06 14:35:07 +00:00
jow
55e296e60b
[package] base-files: remove remaining conffiles reference to /etc/banner
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25368 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-04 23:05:12 +00:00
jow
7376439413
[package] base-files: don't stop hotplug events for ppp interfaces, similar fix like the earlier one for tun/tap interfaces
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25355 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-03 22:43:11 +00:00
jow
3e9851ed3a
[package] base-files: make the skipping of ppp interfaces in 10-net hotplug more explicit, this allows users to rely on hotplug events for ppp0 .. ppp9 interfaces spawned by other programs
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25354 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-03 22:34:30 +00:00
acinonyx
4afdf2ad81
[package] base-files: Fix alsa raw audio device hotplug rule
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25301 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-02 01:23:34 +00:00
acinonyx
890d7a063e
[package] hotplug2: Use stricter matching for rule regular expressions
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25282 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-01 16:37:53 +00:00
acinonyx
dd98a11a9c
[package] base-files: Remove deprecated hotplug2 commands, update old commands to new
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25268 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-31 22:29:31 +00:00
jow
09e5fb022a
[package] base-files: fix a typo in processing of additional dhcp request opts
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25239 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-29 17:06:07 +00:00
jow
414b1d969f
[package] base-files: fix handling of dhcp "reqopts" option
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25237 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-29 13:45:16 +00:00
florian
220dd05b3c
[package] base-files: support port_state in led config ( #6763 )
...
Signed-off-by: Alexey Torkhov <atorkhov@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25172 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-27 21:49:46 +00:00
juhosg
0dbc0d2a8d
package/base-files: add get_magic_long() to common upgrade script
...
Patch-by: Mark Mentovai <mark@moxienet.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25117 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-26 20:35:37 +00:00
cshore
0d8c3ca496
[package] base-files: Fix typo in option name for disabling failsafe announcment
...
Thanks to Andrey Zholos for this patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25040 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-18 14:46:25 +00:00
jow
93d22b0af8
[package] base-files: implement "reqopts" parameter for dhcp interfaces to specify additional dhcp options to request
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24780 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-22 07:20:24 +00:00
jow
8d05266bea
[package] base-files: the busybox update to v1.15.3 completely broke udhcpc route option handling, repair default.script to work with the new format ( #6435 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24778 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-22 07:07:15 +00:00
jow
88d51739a3
[package]Âbase-files: don't mark /etc/banner as conffile
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24742 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-20 19:51:05 +00:00
juhosg
25156f20f7
base-files: add support for the usbdev LED trigger
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24647 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-17 17:10:14 +00:00
nbd
574f469e14
base-files: use shutdown instead of stop when the system goes down (patch by tripolar)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24540 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-13 08:01:21 +00:00
florian
3751e75fb0
[package] adds a --help option to /sbin/wifi
...
Signed-off-by: Sebastian Philipp <sebastian@spawnhost.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24258 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-05 11:22:56 +00:00
jow
c151dac4be
[package] base-files: derive connect_time from uptime as local system time may warp due to rdate, ntp and other means
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24212 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-01 19:55:24 +00:00
jow
4956084c97
[package] base-files: save the connect time of interfaces in uci state
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24206 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-01 17:37:32 +00:00
jow
293671d952
[package] base-files: disable ipv6 on bridge ports, this prevents stray RA assigned and link local addresses on bridge member devices
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24194 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-30 00:46:21 +00:00
jow
b71062831c
[package] base-file: add metric option for static and dhcp protos, this simplifies the management of multiple default routes
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24020 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-17 19:11:50 +00:00
jow
8e477eb518
[package] base-files: mark libc as hold and essential, opkg should now bail out if someone tries to uninstall libc
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23960 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-11 16:18:58 +00:00
jow
ff6b458261
[package] base-files: change /dev permissions to 0755 when hotplug2 is used ( #6039 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23908 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-07 00:28:15 +00:00
jow
287fdd0d38
[PATCH] 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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23906 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-07 00:26:00 +00:00
jow
7658819fef
[package] base-files: mark /etc/shadow as conffile
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23590 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-23 15:49:04 +00:00
jow
fff0472ed2
[package] base-files: add udhcpc vendorid option ( #7744 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23279 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-06 21:21:28 +00:00
jow
224df2044d
[package] base-files: mark /etc/sysupgrade.conf as conffile
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23264 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-05 22:08:23 +00:00
jow
f7f0781bec
[package] base-files:
...
- add sysupgrade support for keepfile hints
* introduces /lib/upgrade/keep.d/ for per-package keepfile lists
* introduces /etc/sysupgrade.conf for user defined keepfile hints
- prime /lib/upgrade/keep.d/base-files-essential to keep sysupgrade usable for images without opkg
- change sysupgrade to build the keepfile list from /lib/upgrade/keep.d/, /etc/sysupgrade.conf and
opkg list-changed-conffiles
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23258 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-05 19:24:12 +00:00
jow
768e3f0496
[package] base-files: sysupgrade: merge info from "opkg list-changed-conffiles" to backup file list
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23233 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-05 07:40:25 +00:00
jow
77e11c0896
[package] base-files: mark /etc/rc.local as conffile
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23232 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-05 07:32:37 +00:00
jow
72a89f6d9e
[package] base-files: utilize uci_get_state to read the previous dhcp router address in udhcpc default script.
...
The setup_switch() procedure provided by swconfig calls config_load() during network restart and thus confuses
udhcpc's uci state keeping resulting in a missing default route on each second network restart. Bypass the
cached state vars and query uci directly to make the script immune against unwanted runtime changes.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23211 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-04 00:07:07 +00:00
jow
76dacb06e8
[package] base-files: prevent possible sourcing of JFFS2 meta files when merging overlay hooks
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23114 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-23 17:32:58 +00:00
cshore
a1a1bdd221
[base system & package/block-extroot] Fixed duplicated content in file in commit 23111
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23112 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-23 14:06:47 +00:00
cshore
5509505bae
[base system & package/block-extroot] Missed file committing previous change 23110
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23111 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-23 14:03:22 +00:00
cshore
848953efdf
[package] 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!
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23110 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-23 13:58:05 +00:00
cshore
92a1aaeba2
[package] 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.
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23099 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-19 23:29:40 +00:00
jow
8ee00eff72
[package] base-files: bump pkg revision after r23091, r23092
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23093 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-19 15:14:42 +00:00
jow
0f55e30c2e
[package] base-files: kill possibly existing udhcpc instance when bringing up a dhcp iface, utilize service_kill() in dhcp shutdown.
...
Based on patch by Stijn Tintel. Possibly related to #7314
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23092 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-19 15:13:06 +00:00
jow
835a68409c
[package] base-files: cached state vars after scan_interfaces might be out of sync when binding dhcp leases, this could lead to an unconfigured wan interface in certain circumstances. Replace config_get calls with uci_get_state
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23091 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-19 15:04:08 +00:00
jow
69b947b01b
[package] base-files: introduce service_kill() into functions.sh - a convenience wrapper for killing services by pid or pidfile with a grace period for termination before kill
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23087 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-19 14:03:32 +00:00
jow
feaf88f721
[package] base-files: add an experimental "-c" flag which tries to preserve *all* changed files in /overlay/etc minus some system files
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22977 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-07 22:20:26 +00:00
jow
24b8a250a0
[package] base-files: make build dependant on opkg/host
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22948 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-06 02:13:19 +00:00
nbd
dc74adf445
toolchain: fix the sysroot mess by getting rid of $(TOOLCHAIN_DIR)/usr and moving it back to $(TOOLCHAIN_DIR), this change makes the toolchain relocatable again, which should fix the SDK
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22723 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-19 12:49:51 +00:00
jow
e3198ce2ac
[package] base-files, uci: properly revert list state on config_load
...
This fixes a bug where lists end up with duplicate values if config_load was
invoked multiple times.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22629 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-14 00:45:15 +00:00
hcg
e3efdd6ac7
base_files: Remove . from end of localhost entry
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22508 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-06 08:00:40 +00:00
jow
8eea743a53
[package] base-files: r22444 caused interfaces to remain down if the macaddr option is used, fix it. Also localize the txqueuelen option variable
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22467 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-02 20:45:52 +00:00
florian
f2ce924259
[package] add txqueuelen option, patch from Roberto Riggio
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22444 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-31 22:32:28 +00:00
jow
6a91be99c7
[package] base-files: localize variable in do_move_devtmpfs(), remove extra temporary variable and shorten conditional
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22380 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-24 19:33:11 +00:00
acoul
cb108e4d04
package/base-files: add support for devtmpfs (thank you rauchwolke at gmx.net)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22379 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-24 19:21:27 +00:00
jow
b8e09b9b3c
[package] base-files: unconditionally unlock the rootfs_data partition ( #7437 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22377 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-24 15:47:15 +00:00
jow
825dbb37aa
[package] base-files, busybox: fix 22279, simplify code and get rid of awk
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22282 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-18 18:36:12 +00:00
cshore
b1acaee343
[package] base-files & telnet: Fixed telnet starting even with root password when shadow passwords in use.
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22279 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-18 15:18:38 +00:00
nbd
098781b9c8
wifi: fix duplicate ht capabilities in the hostapd config file by clearing the list at config load time
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22099 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-08 18:36:12 +00:00
jow
0218c10c87
[package] base-files: add "mtu" option for route sections, allows setting per-route mtu values
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22003 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-30 23:46:34 +00:00
jow
4ff430ad8a
[package] base-files: enable IPv6 forwarding by default since the default firewall supports ip6tables now
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21766 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-12 16:59:12 +00:00
jow
f26814c7cb
[package] base-files: introduce option "broadcast" for proto=dhcp interface to enable the broadcast flag in DHCP requests, required by certain providers
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21661 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-02 20:21:41 +00:00
jow
403a2f7489
[package] base-files: remove IPv6 LL addr from interfaces before adding them to a bridge
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21659 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-02 17:18:38 +00:00
jow
796dcb6b2e
[package] base-files:
...
- add aliases to device by default (not ifname)
- introduce option "layer" to select the target ifname to attach the alias to:
- 3 use tun device (tun over bridge over device) fallback to bridge or device
- 2 use bridge (bridge over device) fallback to device
- 1 use device
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21655 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-02 00:22:13 +00:00
jow
85773b84be
[package] base-file: move alias setup to route hotplug, this fixes alias sections for non-static interfaces like ppp, dhcp, 6in4 etc.
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21652 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-01 21:43:52 +00:00
jow
b95109266d
[package] base-files: don't skip subsequent hotplug rules when doing makedev for tun or tap interfaces - this fixes support for uci managed OpenVPN interfaces and other externally created tuntap devices
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21641 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-31 01:22:36 +00:00
jow
9c250a1ea9
[package] base-files:
...
- use add_dns() and remove_dns() for when changing resolv.conf.auto for static or dhcp interfaces
- force 0644 permissions when creating resolv.conf.auto, fixes dnsmasq permissions denied problem with pppd interfaces
- revert dns servers in /sbin/ifdown
- bump package revision
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21638 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-30 18:23:43 +00:00
jow
cee93be017
[package] base-files: revert r21595
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21597 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-28 10:52:02 +00:00
jow
976f789aba
[package] base-files: bring bridge port iface down before changing the mac ( #7111 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21595 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-28 00:59:19 +00:00
jow
2f1ada2c70
[package] base-files: 3g connection interfaces are now called "3g-*" - adjust 10-net hotplug handler to match them
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21591 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-28 00:35:54 +00:00
jow
526fb3c824
[package] base-files: respect .auto option when running coldplug_interface_*() hooks on boot
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21588 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-27 23:04:56 +00:00
nbd
347c600521
when changing the mac address of a bridge interface, keep member interface addresses in sync (patch from #7111 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21577 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-27 14:04:28 +00:00
jow
fddbe85964
[package] base-files: fix a preinit hang in jffs2_ready() when no rootfs_data partition is found ( #7362 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21511 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-20 05:57:54 +00:00
jow
5d18a177d8
[package] base-files ( #7316 )
...
- improve rdate reliability
- make rdate config more ntp like
- move time server list to /etc/config/timeserver
- bump package revision
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21495 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-17 19:54:35 +00:00
jow
6a7755ee8f
[package] base-files: use uci_get() wrapper ( #7312 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21490 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-17 19:34:08 +00:00
jow
7f0eb037a2
[package] base-files: add add_dns() and remove_dns() helpers to network config, useful to merge dns entries from multiple interfaces
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21391 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-07 01:17:47 +00:00
jow
ee56eec69c
[package] base-files: add a coldplug_interface_* hook to bring up non-hotpluggable interfaces on boot
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21389 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-06 19:50:22 +00:00
jow
19b6acd090
[package] base-files, ppp: fix interface shutdown
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21386 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-06 01:14:24 +00:00
jow
d9494637a8
[package] base-files, ppp: remove protocol specific cleanup code from /sbin/ifdown and move it to protocol stop callbacks
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21383 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-05 23:24:11 +00:00
nbd
6f7937d42b
base-files: do not bring up wlan interfaces from hotplug events, so that wrong network/wireless configs are more noticeable
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21379 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-05 15:56:58 +00:00
acinonyx
4ca110a5a3
[package] base-files: Remove redundant stopping of watchdog
...
busybox watchdog applet should stop the watchdog before shutting down
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21341 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-03 10:56:58 +00:00
florian
8e61b43b86
[package] add stop() to watchdog init script, patch from Yury Polyanskiy
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21334 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-03 09:05:35 +00:00
nico
d0ba466fb6
package/base-files: fix libraries packaging on 64bits targets ( closes : #6918 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21282 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-01 13:29:04 +00:00
florian
e47ea57307
Fix bug in foregrounding in /etc/init.d/rcS
...
Not using the config_xxx functions correctly. Amended.
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20928 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-16 18:14:08 +00:00
nico
b4f7ed76fd
package/base-files: fix typo in r20874 (thanks to rhk for spotting it)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20878 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-15 08:22:39 +00:00
nico
bcd27e686e
package/base-files: use a single $(CP) instead of two to copy shared library files
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20874 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-15 06:01:45 +00:00
florian
04c9400934
[package] option to allow boot to run to completion before starting shell
...
Setting the system variable "foreground" to yes causes the system to run
the init scripts in series and wait for completion.
This is useful if (a) you don't want the user getting into the console
until the system is initialized, or (b) you have things going on in your
scripts that require strict ordering (and no possible race conditions).
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20841 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-13 19:57:25 +00:00
nbd
d84ff5d609
fix jffs2 and mini_fo mount in failsafe (patch from #7134 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20838 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-13 14:24:58 +00:00
florian
fc6a5146e9
[package] add debugging entry to hotplug config
...
This is useful for seeing what devices are detected by the system.
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20785 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-10 18:35:14 +00:00
acinonyx
98f8e41849
[package] base-files: Use hotplug2 to download firmware
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20683 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-03 18:21:02 +00:00
jow
c07af08426
[package] base-files: also regenerate wifi config if existing config contains only whitespace
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20669 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-03 13:31:59 +00:00