blogic
3070019b68
add uci led support
...
- /etc/config/system can hold led info which is applied at boot
- adds /sbin/led.sh to set/clear leds via a name defined in /etc/config/system
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12104 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-04 22:56:46 +00:00
blogic
1cc41c8808
work aroung error message during boot if swapon is nt installed
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12087 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-04 08:50:16 +00:00
nbd
8ed5dc9445
use the same hotplug2 parameters for initramfs and regular
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12059 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-01 03:09:20 +00:00
nbd
53f7e4a36b
move the hotplug2 kill command from preinit to /etc/init.d/boot, so that it works for initramfs as well
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12058 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-01 03:01:42 +00:00
nbd
3e5a9940c6
fix config_clear(), see #3054
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12036 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-31 03:04:32 +00:00
nbd
e49ecf1adf
network scripts: properly maintain the network state's list of assigned interfaces
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12026 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-30 22:39:56 +00:00
nbd
54988ba6a2
functions.sh: add list_contains function for checking whether a list contains a specific element
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12025 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-30 22:39:43 +00:00
nbd
097b27145d
functions.sh: add a function for removing an item from a list in a shell variable
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12024 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-30 20:35:22 +00:00
agb
9e2f5f52c9
[ipkg] Move packages lists to the ramdisk to save flash space
...
- Lists now stored in /var/ipkg-lists/, `ipkg update' must be run after each
boot before packages can be installed from feeds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11982 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-29 03:36:23 +00:00
nico
f2260a8a85
fix variable names in tests
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11911 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-22 21:19:05 +00:00
ymano
32f358d6ff
Revert previous bad commit r11512
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11513 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-16 19:37:00 +00:00
ymano
ed4d6c7f42
Add the PS3 specific utility bl-option, a helper sctipt
...
to get and set bootloader options in flash memory.
Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11512 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-16 19:14:13 +00:00
blogic
2964b01abc
system now knows which timezone it is in
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11445 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-11 19:59:16 +00:00
blogic
171e1e3acd
use default gateway for routes that have no gw specified, Signed off by: Brian J. Murrell
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11380 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-06 18:49:23 +00:00
matteo
722c752a01
create /etc/fstab on boot ( closes #3458 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11225 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-20 19:02:19 +00:00
matteo
d903cbcd5d
fix some wrong paths
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11217 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-19 22:08:46 +00:00
rwhitby
9dfc3e092d
base-files: Update /etc/init.d/fstab with new location of swapon and swapoff (they moved from /sbin to /usr/sbin)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11157 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-17 00:13:05 +00:00
ralph
91e083bf47
adding check for /proc/net/vlan/config (==vlan enabled kernel)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11132 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-13 09:21:17 +00:00
blogic
6ee2982652
revert borked commit
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11038 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-03 20:28:13 +00:00
blogic
2049a7e3a6
make etrax serial driver register its device nodes, so we get a console
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11037 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-03 20:12:43 +00:00
nbd
4e1db00174
initramfs: start one hotplug2 for coldplugging and one for handling events between coldplug and end of /init
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10930 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-23 16:20:46 +00:00
nbd
67ea4e32af
use the right hotplug2 invocation for initramfs
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10928 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-23 14:28:13 +00:00
juhosg
54af0ced73
[package] base-files: fix a typo
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10927 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-23 14:19:35 +00:00
nbd
263af2cd58
This patch re-adds the udev and hotplug2 initialization fixes originally
...
present in /init but was removed when some code was moved from /init to
/etc/preinit in rev 10870. This adds udev initialization and only handles
hotplug2 initialization when hotplug2 is present.
Signed-off-by: Yuji Mano <yuji.mano@am.sony.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10912 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-22 19:22:05 +00:00
matteo
a57da010e1
assign names to filesystems when mounting virtual ones ( closes #3340 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10903 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-21 18:08:05 +00:00
nbd
16ddb9350a
remove some redundant code
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10870 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-20 03:24:43 +00:00
matteo
0938cd3031
fix swap{on,off} path
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10863 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-19 14:36:01 +00:00
thepeople
c435eff562
fix restart on platforms without a setup_switch()
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10846 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-15 16:29:49 +00:00
thepeople
6704630008
add missing include in restart
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10794 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-12 14:57:47 +00:00
matteo
5e1f0b5bb0
fix typo(2) in watchdog init script
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10727 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-03 21:01:16 +00:00
matteo
6604aa7c98
fix typo in watchdog init script
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10726 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-03 20:59:18 +00:00
florian
8b820a5355
Start the watchdog daemon if a harware watchdog is present
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10721 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-03 14:36:10 +00:00
florian
72dff34c99
Make the syslog ring-buffer size configurable ( #3204 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10557 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-03-07 10:44:13 +00:00
florian
a30db55ac8
Fix typo
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10544 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-03-04 15:50:41 +00:00
florian
bad699e8c2
Also call setup_switch on network restart
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10540 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-03-02 14:56:13 +00:00
thepeople
5520f49b60
remove the packages repo as it is not compatable with trunk
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10537 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-29 02:41:39 +00:00
nbd
b079d40fb7
add an extra safety check
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10389 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-05 01:47:47 +00:00
nbd
afa5da1d1b
Here comes the new UCI. Enjoy :)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10367 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-03 06:48:15 +00:00
blogic
be6fa77dfb
make the system have a daemon user by default
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10293 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-28 18:16:00 +00:00
blogic
57f5643ac3
add generic gpio char dev for CONFIG_GENERIC_GPIO archs
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10261 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-26 03:16:11 +00:00
nbd
f90cb20b9a
missing optional parameters for restart and boot functions
...
Add missing optional parameters in remaining rc functions.
It fixes my previous implementation of parametrized rc functions [8106],
ticket #3063 , thanks argovela-at-yahoo-com for reporting.
Signed-off-by: Lubos Stanek (lubek) <lubek@lubek.name>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10245 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-25 10:59:40 +00:00
nbd
82d2ff5e3f
add uci_set_default (to be used in init scripts or /etc/uci-defaults)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10086 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-02 17:10:16 +00:00
nbd
ed0067022d
refactor hotplug2 rules, make sure that the default button rule is only used during the init (should fix #2772 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9644 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-01 17:08:04 +00:00
nbd
8dc03d7740
drop the '0' default in config_get_bool
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9618 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-28 19:02:46 +00:00
nbd
fadaa82e81
init: check permissions on rc.d files
...
We try to unconditionally execute /etc/rc.d/* files, even if they're
not executable - an easy way of temproarily disabling a service. When
this happens, we get a permission denied error on boot.
This change only tries to run execulable startup scripts.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9607 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-28 02:36:14 +00:00
nbd
0d9004633d
init: don't start hotplug2 if it doesn't exist
...
The current init script always tries to start hotplug 2, even if
it's not present, so we get an error on boot.
This change checks for the presence of the hotplug2 binary before
trying to start it.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9606 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-28 02:36:10 +00:00
juhosg
d73a69babb
[packages] 6tunnel: move init/config files to the right place
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9453 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-27 07:12:13 +00:00
florian
9cfe7653c1
Enable IPv6 forwarding by default ( #2527 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9435 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-24 18:44:07 +00:00
florian
4eaf1837af
Mark 6tunnel as executable, avoids ": /etc/init.d/rcS: line 8: /etc/rc.d/S466tunnel: Permission denied"
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9424 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-24 13:42:15 +00:00
florian
6d6cdb60aa
Turn off stp by default, thanks ejka
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9345 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-18 13:20:02 +00:00