1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-09 16:26:15 +02:00
Commit Graph

261 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
nico
e0faab81aa [package] base-files: fix shell syntax (prevent error messages when activating initscripts in IB)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20571 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-29 03:58:17 +00:00
jow
1ac5ad687b [package] base-files: add a hotplug handler for rdate
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20518 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-27 17:13:33 +00:00
nbd
6e3fb9dc77 base-files: reload switch settings on /etc/init.d/network start as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20232 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-15 14:02:49 +00:00