rwhitby
23bfa7ede3
base-files: Added support for swap configuration in /etc/config/fstab
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8947 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-22 13:47:20 +00:00
rwhitby
5753958314
Added support for /etc/default/fstab - a means of automatically mounting devices on boot.
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8916 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-21 13:20:50 +00:00
nbd
b3d1bf8b9c
add --no-coldplug to the hotplug2 process started by /etc/init.d/boot - should prevent duplicate ifup actions. thx, ffrrrr.
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8864 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-20 10:19:24 +00:00
blogic
f3aa8f5895
made HOME=/root global instead of x86 specific
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8845 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-19 19:58:07 +00:00
nbd
4dcc9d335a
support true and false in config_get_bool
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8840 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-19 14:43:29 +00:00
nbd
6c1223e189
add sysupgrade script for config preserving system upgrades. only implemented for x86-2.6 at the moment, but can be ported to other platforms easily
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8456 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-21 18:23:57 +00:00
nbd
3c77e53b3f
fix a race condition with dynamic interfaces and firewalling
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8343 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-04 13:26:41 +00:00
blogic
7e10088cec
wireless config gets regenerated not only when it does not exist, buit also if it is 0 len
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8149 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-24 22:10:10 +00:00
nbd
6762e5d4cc
add patch from #2111
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8106 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-22 16:55:31 +00:00
nbd
8a40c8c3ef
move firmware loading to hotplug2-init.rules (should fix #2056 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7955 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-13 02:32:32 +00:00
nbd
05d9e9fa59
use . /var/state/network instead of config_load to avoid a CONFIG_SECTIONS reset
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7953 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-13 00:44:41 +00:00
nbd
779f081363
fix static routes for dynamic interfaces ( #1446 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7949 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-12 21:23:23 +00:00
mbm
d3ba75415e
move uci_load into config_load so that changes can be applied via uci without commiting
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7927 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-11 20:39:28 +00:00
nbd
059ccded98
add second package source for packages built from the /packages repository
...
fix up first package source (should be release, not snapshots on 7.07)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7897 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-09 07:09:44 +00:00
nbd
af7fc344c8
hotplug2 update - include hotplug2-init.rules from hotplug2.rules, fix permissions of various devices ( fixes #2052 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7892 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-09 00:13:47 +00:00
nbd
c49b0723e2
add failsafe support for atheros-2.6 ( #1501 ) - only works with ar5315+ at the moment
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7870 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-04 04:35:44 +00:00
nbd
3462ef2525
move parts of the failsafe code to the generic base-files - will be used on atheros as well as soon as i've added support for it
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7810 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-30 21:09:02 +00:00
nbd
101062e081
fix a warning ( #1800 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7809 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-30 20:00:29 +00:00
nbd
370c954b81
replace the hotplug2 fork handling hack with a better solution implemented in upstream (thanks, iSteve)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7786 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-30 11:05:14 +00:00
nbd
61994097f2
unify sysctl.conf, add extra netfilter options ( #1996 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7784 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-30 02:59:09 +00:00
nbd
1d5d64e647
fix failsafe on broadcom, send netlink events in diag when running linux 2.6
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7722 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-25 08:32:25 +00:00
blogic
b77baef885
added usb-storage hotpluging
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7684 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-20 22:05:15 +00:00
nbd
46da140988
keep track of the network interface states (stored in uci format in /var/state/network, overlay over /etc/config/network)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7643 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-16 00:01:33 +00:00
nbd
dc98b64674
some shell variable handling fixes
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7638 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-15 15:59:56 +00:00
nbd
807c2e8108
allow config_* and uci_* functions to work on files outside of /etc/config - these files are assumed to use commands generated by uci_* only (as overlay to regular config files)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7636 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-15 15:12:57 +00:00
florian
7e1f65bf6e
Add the conloglevel option ( #1682 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7613 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-13 17:41:54 +00:00
florian
c13b2a5d97
Check for modules.d existence before loading modules
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7423 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-31 15:58:43 +00:00
mbm
3fef5a6916
mount_root should only mount the root
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7418 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-31 12:09:08 +00:00
nbd
b966c1fbab
bridge the lan interface by default
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7349 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-26 20:33:53 +00:00
florian
bef444d0b4
Prefer real executables when available ( #1296 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7232 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-14 18:19:07 +00:00
mbm
8ed8315334
/proc needs to be mounted before preinit.arch for failsafe
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7220 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-14 05:37:24 +00:00
florian
663c75c6b2
Fix set_state preinit stuff
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7200 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-13 10:17:57 +00:00
mbm
80c4c68cdd
bugfix
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7178 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-10 19:19:23 +00:00
mbm
2a701a93d2
use generic inittab for x86
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7175 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-10 14:50:42 +00:00
mbm
de0bb1d6c4
unified preinit environment
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7173 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-10 14:37:47 +00:00
mbm
cdd3f428a8
fix typo
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7170 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-10 12:15:36 +00:00
mbm
3192ed8d6e
unmount filesystems at shutdown
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7166 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-10 10:45:04 +00:00
mbm
b2f4342440
START/STOP values must be specified in the init script
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7164 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-10 10:38:53 +00:00
mbm
38a2e4b392
add K* scripts to be run at shutdown
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7163 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-10 10:07:38 +00:00
mbm
e26af005b5
move syslogd and klogd to init.di/boot script, add remote logging support
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7160 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-10 09:29:55 +00:00
nbd
4039f9f6c5
fix networking on broadcom and possibly other targets as well ( #1658 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7149 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-09 20:54:41 +00:00
nbd
2d6b53deec
use hotplug2 for serializing hotplug events on 2.6
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7097 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-05 18:33:18 +00:00
mbm
01aef2e93b
buggy script; nolonger used
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7078 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-01 22:28:55 +00:00
kaloz
4d3589325b
move the last change to the right place
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7069 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-30 11:11:05 +00:00
kaloz
d1376128a1
set $HOME to /tmp on bootup
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7068 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-30 09:59:40 +00:00
nbd
2064758dc2
create /dev/root on boot - fixes cf2nand on rb532
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7066 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-29 16:57:55 +00:00
nbd
2d4bdf6086
use separate sysctl.conf files for 2.4 and 2.6 - fixes some boot message spam
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7043 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-24 12:05:52 +00:00
nbd
461a3827fb
we can use some more hotplug processes here...
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6980 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-16 23:58:46 +00:00
nbd
6dbdf08f38
add jffs2_mark_erase function for erasing jffs2 partitions on the next mount (typically faster than doing mtd erase manually)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6978 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-16 23:29:44 +00:00
nbd
4530e52764
remove automounting script for block devices - it's causing more problems than it solves
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6937 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-12 09:49:09 +00:00