1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-01 20:33:08 +02:00
Commit Graph

469 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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