Commit Graph

655 Commits (fadf538780386ef463ca4f604905ce7982fe655b)

Author SHA1 Message Date
Felix Fietkau f7f48a6ddf add uclibc 0.9.30.1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15000 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-23 21:04:30 +00:00
Michael Büsch 81f7f38aca Allow running without "logger" installed
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14938 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-18 13:05:18 +00:00
Michael Büsch 93d5d726f3 Support configurations without syslogd/klogd.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14937 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-18 12:20:21 +00:00
Felix Fietkau d221880ade move input device nodes to /dev/input
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14809 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-09 15:06:15 +00:00
Jo-Philipp Wich a53587df97 [package] sysupgrade: install /bin/sleep into ramdisk too and add completition notice (#4747)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14784 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-08 00:21:25 +00:00
Hauke Mehrtens d9a804f344 [base-files]: On shutdown disabled every mounted swap device.
Fixes #4721
Thanks to Angel Marin


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14770 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-07 12:58:08 +00:00
Jo-Philipp Wich a811c29ce9 [package] base-files: allow option dns to override dhcp assigned dns servers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14562 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-19 05:27:36 +00:00
Florian Fainelli c217694634 [base-files] allow specifying port where to log (#2019)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14396 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-03 20:26:00 +00:00
Jose Vasconcellos c47c1e353e Use block events for the mounting/unmounting of external storage devices.
This handles both USB and IEEE1394 devices. It removes /sbin/usb-storage in
favor of using the block hotplug event. There are dummy scripts to handle the
plug in/out of USB and IEEE1394 devices for updating LEDs. Storage devices 
are mount as a sub-directory under /mnt.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14289 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-30 20:48:42 +00:00
Florian Fainelli 617b9a680e [package] increase default size of the connection tracking table, thanks Marc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14283 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-30 14:13:09 +00:00
Felix Fietkau 340f0c5a90 fix handling of eglibc config options for packaging
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14210 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-26 19:46:12 +00:00
Felix Fietkau e12489a3e2 add support for an optional staging directory for debug binaries
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14018 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-13 03:21:25 +00:00
Nicolas Thill 3b75e47f8f [massive] add support for alternative C libraries (currently only glibc/eglibc)
other (related) changes:
 - kernel headers are now installed using "make headers_install" on 2.6
 - target names now contain an openwrt "vendor" tag (e.g. mips-openwrt-linux-gnu)
 - build directory names now contain gcc/libc name/version
 - default cpu for x86 is now i486 (required to build glibc/eglibc)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13931 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-08 01:49:11 +00:00
Felix Fietkau 744772b653 fix $HOME in /etc/profile (#4424)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13914 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-07 04:38:57 +00:00
Jo-Philipp Wich 42e5c4f00e package/base-files: fix chmod of /tmp/.uci, bump package revision
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13903 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-06 21:53:45 +00:00
Jo-Philipp Wich 449da846f2 allow ipv4 routes without gateway in configuration
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13714 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-22 02:21:25 +00:00
Jo-Philipp Wich da9e8cb950 package/base-files: allow ipv6 routes without gateway specified
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13419 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-28 22:45:16 +00:00
Felix Fietkau a8e1d247ac fix up the network ifname in the network state when receiving iface/ifup events
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13399 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-28 16:18:11 +00:00
Felix Fietkau 4dfe6c0658 fix ifup (no longer use the to-be-reverted state of the previous config)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13398 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-28 16:13:23 +00:00
Nicolas Thill 151e22fe32 clean NATIVE_TOOLCHAIN dependencies
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13314 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-22 05:10:43 +00:00
Jo-Philipp Wich 8195bd4906 Prevent "SIOCSIFHWADDR: Device or resource busy" when trying to change mac address
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13258 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-17 10:47:02 +00:00
Nicolas Thill df2acb2746 make network config script work with brctl from both bridge-utils & busybox
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13165 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-09 22:48:56 +00:00
Travis Kemen 7efe4d1cbf remove /tmp/resolv.conf.auto when ifup -a is called so that any old dns servers no longer in the config get cleared
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13082 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-29 20:31:14 +00:00
Felix Fietkau 59e8afdeb4 don't bring down interfaces when preparing them
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13079 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-29 17:26:59 +00:00
Felix Fietkau 382a56d914 use pidfiles for hostapd/wpa_supplicant instead of killing all processes when bringing an interface down - fixes an issue with random hostapd death
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13078 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-29 17:26:49 +00:00
Felix Fietkau ad0b1add52 make sure that the dhcp client (or other processes necessary to get a connection) gets restarted when the wifi is restarted
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13026 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-23 01:07:35 +00:00
Peter Denison e176f409c0 Allow dropbear to use shadow passwords, and correct base-files generation of
/etc/shadow

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12809 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-30 00:56:55 +00:00
Felix Fietkau c1b9ba6db4 add option in sysupgrade to restore config from file or URL (patch from #4043)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12772 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-28 19:45:59 +00:00
Felix Fietkau 57481bf020 fix typo from last sysupgrade commit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12715 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-26 08:58:43 +00:00
Travis Kemen 98daed4072 add switch to not save configuration over the reflash in noninteractive mode
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12714 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-26 00:10:01 +00:00
Felix Fietkau 537ce29c80 install missing busybox symlinks for sysupgrade (patch by Frédéric Moulins)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12695 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-25 11:31:35 +00:00
Felix Fietkau 48a688385f don't emit ifup hotplug events on dhcp renew - use a new iface hotplug type 'update' instead; fixes #3906
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12671 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-23 17:29:22 +00:00
Nicolas Thill b6879de828 make links to statup scripts in /etc/rc.d relative
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12659 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-23 12:35:34 +00:00
Felix Fietkau 3f105986a8 fix sysupgrade support for brcm-2.4 and brcm47xx
make mtd refresh based config append optional (leave enabled on x86)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12657 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-23 11:05:54 +00:00
Travis Kemen 3476a63cd2 make option name optional
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12585 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-13 00:08:39 +00:00
Felix Fietkau bd26d77953 sysupgrade: add optional delay before rebooting
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12572 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-12 19:51:30 +00:00
Steven Barth cddfd99ed5 Prevent unwanted shell expansion
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12568 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-11 12:23:20 +00:00
John Crispin 9a3e938b4f fixes script that mounts usd storage when it gets attached
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12548 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-08 09:30:57 +00:00
John Crispin 206e0235ad fixes usb storage mounting
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12465 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-01 17:42:35 +00:00
Felix Fietkau 18a6db118c fix a race condition which would leave dnsmasq in infinite resolving recursion nirvana
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12424 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-28 14:10:55 +00:00
John Crispin 4c3d50f6f8 fixes broken if-then in led init script
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12411 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-27 20:33:13 +00:00
Florian Fainelli 97fa191e8b Use busybox mount, could be overriden to use util-linux-ng for instance, thanks sn9
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12386 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-25 05:21:42 +00:00
Felix Fietkau 7d81d94034 upgrade to uci 0.5.0, adds list handling support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12353 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-20 15:38:51 +00:00
Nicolas Thill 6a9b975ab2 disable ipv6 systcl call, as ipv6 is not enabled by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12351 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-20 15:29:11 +00:00
John Crispin da1b42031e fixes variables, oops
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12344 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-20 11:45:23 +00:00
John Crispin c7e9e064b1 adds the option to have no proto for a interface, usefull if the uci states need to be set, but interface bring up is handled somewhere else
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12343 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-20 11:17:40 +00:00
Felix Fietkau 14ce10a84b enable TCP ECN by default (see #3001 for more information)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12334 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-17 13:01:59 +00:00
Travis Kemen 8c1abccd91 add /etc/firewall.user to be backed up becuase it is an example in /etc/config/firewall
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12326 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-16 18:01:18 +00:00
Travis Kemen 37708504cc remove /etc/firewall.* from being kept as they no longer are used in trunk
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12320 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-16 16:04:51 +00:00
Travis Kemen 55722b974e make opkg the default package manager, disable busybox ipkg from building by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12319 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-16 06:35:14 +00:00
Florian Fainelli 26ed76587c Fix negative calculation of the tmpfs for devices with few RAM (#3557)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12315 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-14 22:21:35 +00:00
John Crispin 49f78b6b0e remove /etc/functions.sh call from led hotplug script
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12312 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-14 19:07:22 +00:00
Felix Fietkau 72609e482f add basic interface alias support.
for now (since we don't use ip in our network scripts yet), it adds :1, :2, ... alias interfaces
this will change when we add support for the ip utility, but the config format will remain the same.
example:

config alias     test
option interface lan
option ipaddr    192.168.1.1
option netmask   255.255.0.0


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12241 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-07 15:28:48 +00:00
Steven Barth 95a25fedfc added support for the timer-trigger to uci LED support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12236 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-07 11:01:46 +00:00
Mike Baker 7f8329b861 allow ctrl-c to trigger preinit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12231 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-07 07:17:03 +00:00
John Crispin 664624ac96 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
John Crispin b5a563ee16 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
Felix Fietkau abdfec5426 network scripts: revert the network state after running ifdown, not before
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12081 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-03 21:00:01 +00:00
Felix Fietkau 930674d205 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
Felix Fietkau 73ba73fc41 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
Felix Fietkau adc5b4a36f avoid duplicate vlan add events
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12057 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-01 03:01:25 +00:00
Felix Fietkau 8c5e87f163 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
Felix Fietkau 45de55ec47 link default routes added by the network scripts to the appropriate interface (#2621)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12027 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-30 22:49:25 +00:00
Felix Fietkau bc65855620 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
Felix Fietkau 2443a74ce1 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
Felix Fietkau 943998b6f0 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
John Crispin 5cee680b19 creates a passwd's shadow file if busybox supports the feature, fixes #2887
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12017 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-30 17:09:01 +00:00
Florian Fainelli 0ae9727f8b Disable smash stacking support by default, but allow to enable it as an experimental feature
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12010 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-30 12:54:28 +00:00
Felix Fietkau cb1328bacf properly keep track of bridged interfaces in the network state
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12004 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-30 05:22:02 +00:00
Andy Boyett 9da11ac95f [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
Nicolas Thill 57baa8b55f fix libraries packaging for uml on x86_64
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11970 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-28 14:19:02 +00:00
Travis Kemen 4de53e6237 keep /etc/group over reflash as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11919 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-24 16:36:39 +00:00
Travis Kemen 89a046fb86 add dropbear keys, passwd and firewall configuration to be saved during reflash
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11912 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-24 02:24:59 +00:00
Nicolas Thill 9baf62bbac 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
Travis Kemen bfcfd60f61 fix sysupgrade endian issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11900 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-22 01:11:30 +00:00
Yuji Mano e8dd2b2fbf 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
Yuji Mano 75a04f0984 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
John Crispin e9f32f8648 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
John Crispin 3824708fd4 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
Felix Fietkau 0174cbc49a fix sysupgrade 'do_upgrade: not found' error
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11362 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-04 23:20:56 +00:00
Matteo Croce 9925b900a1 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 Croce d1eb0e1339 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
Rod Whitby 9bdc6b6c60 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 Hempel 7bba74f697 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
John Crispin 43b6f8ec9e 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
John Crispin 081c102742 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
Felix Fietkau e4f9f869bd 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
Felix Fietkau 00a43b0a52 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
Gabor Juhos 118bef8ac3 [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
Felix Fietkau 44a3a83bef 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 Croce 53a34b19ad 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
Felix Fietkau 7904db70d2 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 Croce 1a21a5e493 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
Travis Kemen a7ce99aa6b 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
Travis Kemen 3cdafdf07e 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
Felix Fietkau 1303157abd fix use of uci_set_state in network scripts (thx, netprince)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10763 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-07 16:02:50 +00:00
Matteo Croce d581d99935 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 Croce 359d4daceb 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 Fainelli 09c0e0ce70 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
Felix Fietkau 7a3bb84d5a fix interface enumeration issues related to /var/state/network (thx to fish for debugging this)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10715 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-02 21:27:28 +00:00
Florian Fainelli 753909115e 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 Fainelli 7acefe43f1 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 Fainelli a5d53863ca 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
Travis Kemen fea2dcd1d4 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
Felix Fietkau 6797c87a70 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
Felix Fietkau 2f8b5f8c28 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
John Crispin 9337d3de3c 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
John Crispin bfa7d43bee 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
Felix Fietkau b55cfb9507 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
Felix Fietkau 039590c86a 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
Felix Fietkau f57b5fffad fix typo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9871 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-23 02:13:57 +00:00
Felix Fietkau 4b4bb6062e add profile specific base-files packages - does not work with the imagebuilder yet, but will be fixed later
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9870 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-23 02:08:34 +00:00
Gabor Juhos 00c20e169e [package] base-files: fix revision number in 'etc/banner'
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9755 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-14 20:07:32 +00:00
Felix Fietkau d42667f87b clean up openwrt version handling, use a separate script that is executed at the beginning of the build process, fix revision checking with git
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9723 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-13 06:25:54 +00:00
Felix Fietkau 8422957bae 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
Felix Fietkau ace8b3cc3c fix ppp issues (thanks to Fatus for debugging this)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9634 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-30 09:43:05 +00:00
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