Felix Fietkau
2775144bbf
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
Felix Fietkau
1c45a560a2
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
Felix Fietkau
b4163899b1
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
Florian Fainelli
db937a2c6c
Allow specifying static IPv6 gateways ( #2710 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9569 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-16 07:27:59 +00:00
Felix Fietkau
3937f1653c
add support for interfaces with ipv6, but no ipv4 (patch from #2695 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9545 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-12 16:29:08 +00:00
Gabor Juhos
a50ed31288
[packages] base-files: suppress error messages in usb-storage script
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9498 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-04 15:12:08 +00:00
Gabor Juhos
dea6b7aaac
[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 Fainelli
f11fa6c3e7
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 Fainelli
f715eab564
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 Fainelli
effcc21eb7
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
Florian Fainelli
b6a1b8edd1
Turn on stp by default for bridges ( #2476 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9343 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-18 13:07:28 +00:00
Florian Fainelli
fdcffc4ae7
Add route6 option to setup IPv6 routes ( #2528 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9337 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-16 15:05:19 +00:00
John Crispin
d60753c5ec
fixed 1677
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9314 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-14 06:12:29 +00:00
Florian Fainelli
b809f6233e
Add 6tunnel configuration for tunnel brokers based configuration (not SiXXS), disabled by default
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9259 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-11 09:01:38 +00:00
Travis Kemen
a8eb7c1763
add clientid to udhcpc thanks pjama
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9159 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-06 03:12:04 +00:00
Felix Fietkau
6f64a83acb
fix path to the snapshot packages (snapshot build/upload needs to be fixed as well)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9083 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-30 21:29:55 +00:00
Gabor Juhos
9233c3cdb9
get rid of per-profile base-files
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9069 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-29 14:27:54 +00:00
Rod Whitby
b0831189f9
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
Rod Whitby
4c56c3a088
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
Felix Fietkau
3842e188da
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
John Crispin
2c41016d04
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
Felix Fietkau
4e5964b095
sync awk implementation of config_get_bool with the shell variant
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8841 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-19 15:36:30 +00:00
Felix Fietkau
7e4e3831d1
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
Florian Fainelli
1192538019
Revert the InstallDev section, was only there testing
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8787 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-16 10:24:10 +00:00
Florian Fainelli
32ba50b798
Put back ldd and ldconfig ( #1543 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8786 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-16 10:21:53 +00:00
Felix Fietkau
bd87192430
fix a few issues with dynamically assigned interfaces
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8765 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-12 17:02:34 +00:00
Felix Fietkau
6bcd07afdd
major target cleanup. it is now possible to have subtargets that can override many target settings, including arch - merge adm5120, adm5120eb. target profiles still need to be adapted for subtargets
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8694 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-08 19:55:42 +00:00
Felix Fietkau
6ad5c919ce
bump package versions after updates
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8680 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-07 20:41:57 +00:00
Nicolas Thill
2180fa92a1
move package description to a separate definition, remove it when DESCRIPTION=TITLE
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8659 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-07 08:34:51 +00:00
Felix Fietkau
92558d67a4
strip the kernel version suffix from target directories, except for brcm-2.4 (the -2.4 will be included in the board name here). CONFIG_LINUX_<ver>_<board> becomes CONFIG_TARGET_<board>, same for profiles.
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8653 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-06 16:27:37 +00:00
Nicolas Thill
43bb58eaf6
package Makefile cleanup: remove uneeded vars
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8587 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-03 08:20:36 +00:00
Felix Fietkau
fe9d7531d8
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
Felix Fietkau
d10a56dc58
build system cleanup/restructuring as described in http://lists.openwrt.org/pipermail/openwrt-devel/2007-August/001159.html
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8362 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-07 00:04:25 +00:00
Felix Fietkau
09a67f8dce
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
Felix Fietkau
4923a3c262
tab/whitespace fix
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8338 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-04 11:30:40 +00:00
John Crispin
b9a57974fa
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
Felix Fietkau
2ab412c4f2
fix an error message
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8109 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-22 18:46:57 +00:00
Felix Fietkau
2fd3ce45f4
keep track of the wifi interface state in /var/state/wireless
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8108 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-22 18:32:47 +00:00
Felix Fietkau
b1e1d37468
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
Felix Fietkau
a13fa65207
add a workaround for the hostapd killed issue when using more than one wifi card ( #1928 , #2040 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8077 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-20 16:11:46 +00:00
Florian Fainelli
8eb5db243c
libgcc is not available with host-toolchain, DEPENDS was overriden with the avr32 condition
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8038 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-18 13:50:25 +00:00
Felix Fietkau
07db8f80f9
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
Felix Fietkau
e5bfc9ff20
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
Felix Fietkau
dbb01d5eaa
avoid a race condition that might lead to dnsmasq reading an empty resolv.conf ( #2007 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7952 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-12 21:59:38 +00:00
Felix Fietkau
387b9fd2b2
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
Mike Baker
0480026eb6
rename mini_fo mount point so as not to confuse users
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7928 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-11 20:46:25 +00:00
Mike Baker
9df0b3bf4b
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
Felix Fietkau
ce860d9db9
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
Felix Fietkau
a7e1a7ae99
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
Mike Baker
6dfa7e8a3c
fix usb-storage permissions
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7889 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-08 13:23:17 +00:00
Mike Baker
3a10e4f56d
more wpa+wds patches
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7888 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-08 12:51:30 +00:00
Felix Fietkau
dba4a4c41e
fix a race condition with broadcom wl devices in a bridge
...
if a device is added before the bridge is brought up, the wifi settings are lost
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7872 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-04 05:05:46 +00:00
Felix Fietkau
5268bc8e01
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
Felix Fietkau
a2a0717b73
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
Felix Fietkau
2dadc364a1
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
Felix Fietkau
b1840ac964
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
Felix Fietkau
a817b74d65
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
Mike Baker
f638c824f3
fix broadcast address ( #1611 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7766 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-28 23:07:29 +00:00
Felix Fietkau
c209060116
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
John Crispin
a989402037
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
Felix Fietkau
97ca42e813
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
Felix Fietkau
171557a1c1
more fixes
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7639 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-15 16:07:09 +00:00
Felix Fietkau
040caceff3
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
Felix Fietkau
270d6c63c1
fix typo
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7637 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-15 15:18:58 +00:00
Felix Fietkau
7afe6ce158
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 Fainelli
3fb5158f91
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 Fainelli
68f656eeda
Package libstdc++ ( #1883 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7581 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-12 11:06:39 +00:00
Imre Kaloz
15a51103e8
add support for the AVR32 platform, namely the ATNGW100 board - joint work with wigyori
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7533 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-08 10:44:01 +00:00
Florian Fainelli
124e99d13b
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
Mike Baker
6470efd98f
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
Felix Fietkau
c1c16cca83
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
Travis Kemen
330a1018f6
keep uci_set from saving things that have not changed
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7259 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-16 14:46:23 +00:00
Mike Baker
5feba01b29
fix typo
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7244 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-15 06:14:35 +00:00
Florian Fainelli
eeaf486d97
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
Mike Baker
310ddc4c62
cleaner version of the udhcp script
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7222 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-14 08:37:57 +00:00
Mike Baker
36fbb96b59
/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 Fainelli
41bff969b5
Do not suppress routes if the router received on renew is the same ( #138 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7215 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-13 21:58:08 +00:00
Florian Fainelli
ff31b9d4cc
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
Mike Baker
6532b286ba
clean up the mtd unlocking
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7199 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-13 09:39:21 +00:00
Mike Baker
1f6d41f082
tweaks for 2M devices
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7179 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-10 19:41:07 +00:00
Mike Baker
d4fe5fd233
bugfix
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7178 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-10 19:19:23 +00:00
Mike Baker
c8e4a613e8
fix bug in mount script
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7177 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-10 16:54:52 +00:00
Mike Baker
46201c4ab4
cleanup the broadcom preinit.arch
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7176 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-10 16:29:15 +00:00
Mike Baker
a354075669
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
Mike Baker
09cdbc40d0
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
Mike Baker
000ff99561
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
Mike Baker
5b2f7c9b14
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
Mike Baker
d52fe054ab
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
Mike Baker
67481e68be
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
Mike Baker
1f70c9f44a
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
Felix Fietkau
c9f05e7820
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
Eugene Konev
8283abc45a
Fix ipv6 address assignment ( #1622 ).
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7116 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-06 16:52:46 +00:00
Felix Fietkau
4e4050b160
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
Mike Baker
7bd3cbe14c
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
Mike Baker
74a394b031
various patches to add support for ppp over evdo or character devices
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7076 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-01 21:53:32 +00:00
Imre Kaloz
de0eebbe51
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
Imre Kaloz
0679feaadc
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
Felix Fietkau
2a01af800c
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
Felix Fietkau
2dcaf582db
Small bugfix for dependency handling - mostly for base-files and symlinks
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7058 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-26 18:04:16 +00:00
Felix Fietkau
cd3c2a39aa
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
Florian Fainelli
1dcc8cbb2e
Create /lib/firmware
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7033 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-22 15:00:19 +00:00
Felix Fietkau
f11d064154
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
Felix Fietkau
377c7c2c07
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
Felix Fietkau
b1f2b254cb
fix ifdown hotplug event ( #1576 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6950 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-15 07:23:28 +00:00
Felix Fietkau
4766914d70
fix bogus "interface not found" errors in ifup -a ( #1580 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6949 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-15 07:22:11 +00:00
Felix Fietkau
9cfa1a427d
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
Felix Fietkau
907ee5cf69
allow scripts to disable config callbacks
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6934 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-11 19:34:20 +00:00
Felix Fietkau
0cdc87e0cd
use rc.common for usb init script
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6873 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-06 16:07:36 +00:00
Florian Fainelli
d959efc2d3
Remove ldd/ldconfig for the moment ( #1551 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6866 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-04 20:24:06 +00:00
Florian Fainelli
29f0b44895
Add ldd and ldconfig support, template packages derived from gcc and uclibc
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6856 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-03 22:50:27 +00:00
Felix Fietkau
89fb2b680e
network config: ignore nonexistant interfaces
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6819 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-02 09:41:56 +00:00
Felix Fietkau
d0ef191f6a
move /dev/tun to /dev/net/tun
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6814 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-01 23:44:39 +00:00
Florian Fainelli
bcb7491164
Limit the number of hotplug childrens
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6804 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-01 18:30:32 +00:00
Felix Fietkau
32d7a5ac2a
/sbin/hotplug-call: export the hotplug event type through the environment for hotplug scripts
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6768 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-31 00:59:49 +00:00
Florian Fainelli
cf0894f267
Use MiBSD ksh if installed ( #1470 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6687 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-24 21:51:44 +00:00
Felix Fietkau
d8e5772f33
rename uci-update.awk to uci.awk and add a few config_* functions
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6666 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-24 13:43:04 +00:00
Felix Fietkau
4c7b45255b
fix uci commit
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6665 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-24 13:42:55 +00:00
Felix Fietkau
7b76b0e987
small cleanup
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6663 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-24 13:42:53 +00:00
Felix Fietkau
44890cf760
add an optional parameter to scan_interfaces() that can override the network config file (defaults to 'network')
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6619 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-19 22:06:31 +00:00
Eugene Konev
33d6f026e7
Move /sys on pivot_root too
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6603 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-18 13:47:28 +00:00
Felix Fietkau
947bab0abb
upgrade dnsmasq to latest version, rewrite dnsmasq init script for uci, rename /bin/ipcalc to /bin/ipcalc.sh ( fixes #1452 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6595 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-17 13:31:13 +00:00
Felix Fietkau
cd35305e9c
fix default netmask
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6589 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-17 03:15:41 +00:00
Felix Fietkau
872df6022a
package libssp for apps that need it (only enabled for gcc4)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6584 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-16 20:37:04 +00:00
Mike Baker
59e316c32c
add a new 'option disabled' to wifi-device
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6576 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-16 13:56:36 +00:00
Felix Fietkau
97276e7bf0
Add an 'Image Configuration' menu to menuconfig
...
Packages can export a list of config options with labels and data types
through the metadata. The selected config values will be exported to the
target filesystem in /etc/uci-defaults and applied on the first boot.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6572 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-16 03:02:31 +00:00
Felix Fietkau
f91ea0ebf7
add new config option for the hostname in /etc/config/system ( fixes #1302 , #1438 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6532 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-06 21:28:57 +00:00
Felix Fietkau
2b35413971
add vga console support for x86-2.6 images ( fixes #1342 , #840 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6530 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-06 19:13:40 +00:00
Felix Fietkau
ae39d6a370
nuke mdev and replace it with hotplug2 :)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6512 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-04 20:31:53 +00:00
Felix Fietkau
8783fd8160
only mount sysfs once (thx, ejka)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6504 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-04 14:27:52 +00:00
Felix Fietkau
95d20db041
add failsafe support for x86-2.6 and fix mdev support for platforms using /etc/preinit
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6481 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-03 22:32:13 +00:00
Felix Fietkau
75f543cfc6
don't run mdev on hotplug pseudo-events that come from user space
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6480 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-03 20:59:49 +00:00
Imre Kaloz
faa289d985
R.I.P. devfs
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6478 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-03 20:35:01 +00:00
Felix Fietkau
36dacf1038
make find_mtd_part work without devfs
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6466 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-02 19:01:49 +00:00
Tim Yardley
3249931be4
commit profile support for base-files... patches still need to be done
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6465 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-02 18:17:40 +00:00
Felix Fietkau
6b6e8899e6
add support for static routes - based on the patch from #1365
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6457 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-02 15:48:29 +00:00
Felix Fietkau
35d4bb8a94
add support for if{down,up} -a and implement proper start/stop/restart for /etc/init.d/network
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6455 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-02 13:21:33 +00:00
Felix Fietkau
18de319d9d
make squashfs overlay support more generic and integrate it for x86-2.6
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6450 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-02 01:23:36 +00:00
Felix Fietkau
81b82549d6
add a check for brctl in the unbridge() function ( fixes #1417 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6410 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-27 23:34:14 +00:00
Felix Fietkau
f8e0bf987f
move config_get_bool from /sbin/wifi to /etc/functions.sh
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6407 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-27 23:09:57 +00:00
Felix Fietkau
0c9d637c2b
Integrate basic UCI config file validation support
...
Needs more testing and validation is not enforced yet
Code contributed by Fraunhofer Fokus
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6391 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-26 20:04:04 +00:00
Felix Fietkau
b66907b65d
more reliable fix for handling ppp
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6356 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-25 13:45:45 +00:00
Felix Fietkau
30c55d788e
integrate the fix from #1348 and clean up the network scripts a bit...
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6355 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-25 12:52:02 +00:00
Mike Baker
b3e2982d27
Change localhost into a fully qualified name; remove OpenWrt alias to 127.0.0.1
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6292 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-12 22:54:56 +00:00
Felix Fietkau
74f4d3ee6d
fix typos in ifdown (patch from #1319 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6272 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-06 01:02:30 +00:00
Felix Fietkau
6dcfb98800
fix a typo
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6228 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-29 22:07:17 +00:00
Felix Fietkau
18db71bc7a
add broadcast setting for /etc/config/network interfaces
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6225 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-27 21:58:03 +00:00
Felix Fietkau
1dca8493f3
make usb init script executable
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6203 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-25 17:42:07 +00:00
Felix Fietkau
2488cd4e0a
use syslogd -C16 instead of syslogd -C 16 (busybox 1.4 compatibility)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6202 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-25 17:39:38 +00:00
Florian Fainelli
9582bbf434
Mount usb filesystem at startup ( #1077 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6163 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-21 18:11:27 +00:00
Felix Fietkau
ece171847f
ignore the bridge option if brctl is not available
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6145 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-20 15:28:47 +00:00
Felix Fietkau
d64e90a6f8
Fix the issue where the default gateway is not set
...
in static mode most of the time. Seems like the bridge
is not fast enough at switching to 'forwarding' mode
so a short delay before setting the routes is necessary.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6123 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-17 21:29:53 +00:00
Felix Fietkau
a455d0988c
add checks for {ip,ip6}addr in the network config
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6099 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-14 22:29:13 +00:00
Felix Fietkau
b2e87f2906
Fix the annoying base-files autorebuild bug.
...
When checking file mtimes in directories, timestamp.pl was following symlinks.
This broke on base-files, because there are symlinks to /tmp and to /proc/mounts in the build directory.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6084 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-12 11:09:05 +00:00
Felix Fietkau
bd078bad0f
Forward port whiterussian resolv.conf changes
...
/etc/resolv.conf links to /tmp/resolv.conf
/tmp/resolv.conf links to /tmp/resolv.conf.auto by default (which is where the ISPs nameserver is in)
When dnsmasq starts, it replaces /tmp/resolv.conf with a file pointing to 127.0.0.1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6043 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-08 21:33:53 +00:00
Felix Fietkau
7a71618416
don't try to automount loopback devices ( #1011 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5877 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-20 05:29:52 +00:00
Felix Fietkau
8b3f951d40
add a workaround for self-killing init scripts on restart ( #1023 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5876 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-20 05:26:39 +00:00
Felix Fietkau
b102a2846f
add a variable to keep track of the list of sections when loading uci config files. add a function to iterate through sections
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5870 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-20 04:15:13 +00:00
Felix Fietkau
6357539faa
fix CONFIG_FILENAME in uci_commit()
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5791 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-14 17:29:51 +00:00
Felix Fietkau
d2fb93ec99
fix typo
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5790 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-14 17:28:19 +00:00
Felix Fietkau
7ac94dfc7e
fix uci_load trash output ( #1040 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5745 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-10 03:37:14 +00:00
Florian Fainelli
ccc54474f5
Set up ipv6 address if provided in network configuration ( #1028 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5738 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-09 16:57:31 +00:00
Felix Fietkau
6c20cfaf1d
add a check to see if an init script is enabled
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5727 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-08 17:56:05 +00:00
Felix Fietkau
76611e547d
fix a typo
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5719 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-08 11:25:10 +00:00
Felix Fietkau
ba15ccf6f0
add option for setting the mac address ( #1014 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5690 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-04 23:22:06 +00:00
Felix Fietkau
b9149fa353
fix typo in /sbin/wifi ( #1016 - thanks, dairiki)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5689 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-04 23:11:47 +00:00
Mike Baker
5cd910510b
small tweaks to the usb disk hotplug scripts
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5667 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-28 18:37:37 +00:00
Mike Baker
9b3fb9dbb7
fix sed error installing kmod ipkgs
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5629 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-23 18:22:06 +00:00
Felix Fietkau
5a32593057
replace lots of manual install commands with INSTALL_* variables
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5624 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-23 00:29:07 +00:00
Felix Fietkau
fbef19a70d
rename default/ to files/
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5622 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-22 23:30:57 +00:00
Felix Fietkau
0cbe723631
move platform specific base-files into target/linux/<targetname>
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5621 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-22 23:27:29 +00:00
Felix Fietkau
36dbcb9b37
move busybox init scripts from base-files into the busybox package and make them depend on busybox menuconfig options
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5620 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-22 23:06:40 +00:00
Mike Baker
d6484c3747
fix broken export from last commit
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5618 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-22 21:49:49 +00:00
Mike Baker
af9bcd14fe
avoid eval leaks
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5617 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-22 21:39:44 +00:00
Felix Fietkau
2afcd0174e
fix various variable copying bugs
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5613 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-22 13:32:24 +00:00
Felix Fietkau
4cdc609d0e
fix svn:executable property on /etc/init.d/done
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5612 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-21 22:05:41 +00:00
Mike Baker
b44a1aef3c
cleanup uci and functions.sh
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5597 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-21 02:13:08 +00:00
Mike Baker
0a8080407b
strtok helper function
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5592 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-20 19:30:50 +00:00
Felix Fietkau
1d7168260e
hopefully fix duplicate ppp instances ( #895 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5577 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-18 23:19:32 +00:00
Mike Baker
3b8123da2e
correct typo in 'uci get'
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5557 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-17 22:54:50 +00:00
Felix Fietkau
bc290be67a
fix typo
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5554 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-17 05:31:21 +00:00
Felix Fietkau
98206a36df
cosmetic led state change fix
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5550 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-17 04:45:31 +00:00
Felix Fietkau
6079171a5e
add failsafe mode and mini_fo mounting support for brcm-2.4 and brcm-2.6
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5544 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-17 03:07:10 +00:00
Felix Fietkau
cfea8f5952
remove broadcom specific stuff from default base files
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5543 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-17 02:58:22 +00:00
Felix Fietkau
768b48f380
implement target profiles in menuconfig
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5512 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-12 05:06:56 +00:00
Felix Fietkau
b29914db0d
fix jffs2root compile
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5500 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-12 01:35:03 +00:00
Felix Fietkau
6566668921
move two functions from broadcom.sh to /sbin/wifi
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5496 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-11 12:57:23 +00:00
Felix Fietkau
585b116050
make sure udhcpc is spawned as a background process (use eval)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5494 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-09 23:50:47 +00:00
Felix Fietkau
5c78bab47c
add support for -t 0 (infinite retry) in busybox udhcpc and use it in the network scripts
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5493 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-09 23:41:50 +00:00
Felix Fietkau
ac49f2ad3e
fix dhcp hotplug events
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5491 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-09 23:05:54 +00:00
Felix Fietkau
396517ef21
fix ifdown hotplug event for static
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5490 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-09 22:22:45 +00:00
Felix Fietkau
b11a051525
fix ifup hotplug event for static
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5489 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-09 22:11:11 +00:00
Felix Fietkau
dbdbdbbeb3
fix for multiple extra commands in init scripts using rc.common
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5488 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-09 21:43:04 +00:00
Felix Fietkau
181d78d0b9
fix potential data loss issue on failed umount (patch from #942 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5474 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-09 02:02:13 +00:00
Florian Fainelli
e0d91f8546
Ensure dropbear is installed before disabling telnet ( #920 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5465 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-07 16:40:07 +00:00
Florian Fainelli
c3ee48d9f9
Change httpd realm to match the hostname ( #932 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5464 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-07 16:37:09 +00:00
Florian Fainelli
36f10c5837
Test if symbolic is already there ( #886 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5442 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-04 12:47:45 +00:00
Felix Fietkau
5898135689
call interface stop handler on ifdown
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5432 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-04 00:01:51 +00:00
Felix Fietkau
f487e44bbb
rename the <boardname>-<kernelversion> directories of base-files to just <boardname>, so that the broadcom stuff can share files across kernel versions. adding back <boardname>-<kernelversion> for version specific overrides is still possible
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5427 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-03 22:03:50 +00:00
Felix Fietkau
71b6c5ea21
add config option for autostart of network interfaces
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5425 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-03 21:57:35 +00:00
Felix Fietkau
b2cf662a0d
fix missing variable assignment (found by db90h)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5395 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-03 02:08:17 +00:00