1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-05 18:38:25 +02:00
Commit Graph

785 Commits

Author SHA1 Message Date
jow
b80bf0c001 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
nico
445c5eeabd 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
thepeople
f45cb578c9 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
nbd
3f95a4242b 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
nbd
9909f72e6f 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
nbd
76193c6241 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
noz
85aaffee65 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
nbd
71b1c2cbf3 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
nbd
8f1f5d8522 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
thepeople
d8ef8d0af9 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
nbd
fcb62b7607 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
nbd
8b0d8253f3 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
nico
4052ceaa24 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
nbd
498cc73e51 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
thepeople
32e00e020b 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
nbd
4e9554bdfe 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
cyrus
bdbfc90b0b 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
blogic
96e18cd32c 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
blogic
a3cec29a22 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
nbd
977d04101f 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
blogic
f773249a7a 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
e2ed54aba7 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
nbd
97501ba110 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
nico
20b66117aa 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
blogic
8a1e72be0a 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
blogic
6279cc1ca5 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
nbd
18e4940bcb 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
thepeople
75806cb4b0 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
thepeople
39788de806 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
thepeople
d5dc9a9087 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
d5249b218d 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
blogic
a0745cadd4 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
nbd
9fb77da451 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
cyrus
4d7ce1f5ca 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
mbm
cba027e9e2 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
blogic
3070019b68 add uci led support
- /etc/config/system can hold led info which is applied at boot
- adds /sbin/led.sh to set/clear leds via a name defined in /etc/config/system



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12104 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-04 22:56:46 +00:00
blogic
1cc41c8808 work aroung error message during boot if swapon is nt installed
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12087 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-04 08:50:16 +00:00
nbd
78fa722e25 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
nbd
8ed5dc9445 use the same hotplug2 parameters for initramfs and regular
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12059 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-01 03:09:20 +00:00
nbd
53f7e4a36b move the hotplug2 kill command from preinit to /etc/init.d/boot, so that it works for initramfs as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12058 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-01 03:01:42 +00:00
nbd
1f75fe411e 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
nbd
3e5a9940c6 fix config_clear(), see #3054
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12036 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-31 03:04:32 +00:00
nbd
81de0abd55 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
nbd
e49ecf1adf network scripts: properly maintain the network state's list of assigned interfaces
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12026 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-30 22:39:56 +00:00
nbd
54988ba6a2 functions.sh: add list_contains function for checking whether a list contains a specific element
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12025 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-30 22:39:43 +00:00
nbd
097b27145d functions.sh: add a function for removing an item from a list in a shell variable
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12024 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-30 20:35:22 +00:00
blogic
3e7128271b 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
2c8df11418 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
nbd
0448c53b0d 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
agb
9e2f5f52c9 [ipkg] Move packages lists to the ramdisk to save flash space
- Lists now stored in /var/ipkg-lists/, `ipkg update' must be run after each
   boot before packages can be installed from feeds

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11982 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-29 03:36:23 +00:00
nico
088ae0f64d 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
thepeople
61ab9d0406 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
thepeople
ef4d7f6cd3 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
nico
f2260a8a85 fix variable names in tests
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11911 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-22 21:19:05 +00:00
thepeople
727db54052 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
ymano
32f358d6ff Revert previous bad commit r11512
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11513 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-16 19:37:00 +00:00
ymano
ed4d6c7f42 Add the PS3 specific utility bl-option, a helper sctipt
to get and set bootloader options in flash memory.

Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11512 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-16 19:14:13 +00:00
blogic
2964b01abc system now knows which timezone it is in
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11445 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-11 19:59:16 +00:00
blogic
171e1e3acd use default gateway for routes that have no gw specified, Signed off by: Brian J. Murrell
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11380 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-06 18:49:23 +00:00
nbd
d110b89b7b 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
722c752a01 create /etc/fstab on boot (closes #3458)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11225 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-20 19:02:19 +00:00
matteo
d903cbcd5d fix some wrong paths
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11217 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-19 22:08:46 +00:00
rwhitby
9dfc3e092d base-files: Update /etc/init.d/fstab with new location of swapon and swapoff (they moved from /sbin to /usr/sbin)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11157 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-17 00:13:05 +00:00
ralph
91e083bf47 adding check for /proc/net/vlan/config (==vlan enabled kernel)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11132 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-13 09:21:17 +00:00
blogic
6ee2982652 revert borked commit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11038 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-03 20:28:13 +00:00
blogic
2049a7e3a6 make etrax serial driver register its device nodes, so we get a console
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11037 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-03 20:12:43 +00:00
nbd
4e1db00174 initramfs: start one hotplug2 for coldplugging and one for handling events between coldplug and end of /init
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10930 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-23 16:20:46 +00:00
nbd
67ea4e32af use the right hotplug2 invocation for initramfs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10928 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-23 14:28:13 +00:00
juhosg
54af0ced73 [package] base-files: fix a typo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10927 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-23 14:19:35 +00:00
nbd
263af2cd58 This patch re-adds the udev and hotplug2 initialization fixes originally
present in /init but was removed when some code was moved from /init to
/etc/preinit in rev 10870. This adds udev initialization and only handles
hotplug2 initialization when hotplug2 is present.

Signed-off-by: Yuji Mano <yuji.mano@am.sony.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10912 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-22 19:22:05 +00:00
matteo
a57da010e1 assign names to filesystems when mounting virtual ones (closes #3340)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10903 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-21 18:08:05 +00:00
nbd
16ddb9350a remove some redundant code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10870 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-20 03:24:43 +00:00
matteo
0938cd3031 fix swap{on,off} path
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10863 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-19 14:36:01 +00:00
thepeople
c435eff562 fix restart on platforms without a setup_switch()
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10846 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-15 16:29:49 +00:00
thepeople
6704630008 add missing include in restart
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10794 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-12 14:57:47 +00:00
nbd
c8c1a02da5 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
5e1f0b5bb0 fix typo(2) in watchdog init script
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10727 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-03 21:01:16 +00:00
matteo
6604aa7c98 fix typo in watchdog init script
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10726 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-03 20:59:18 +00:00
florian
8b820a5355 Start the watchdog daemon if a harware watchdog is present
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10721 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-03 14:36:10 +00:00
nbd
fd00f35a4f 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
72dff34c99 Make the syslog ring-buffer size configurable (#3204)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10557 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-03-07 10:44:13 +00:00
florian
a30db55ac8 Fix typo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10544 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-03-04 15:50:41 +00:00
florian
bad699e8c2 Also call setup_switch on network restart
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10540 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-03-02 14:56:13 +00:00
thepeople
5520f49b60 remove the packages repo as it is not compatable with trunk
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10537 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-29 02:41:39 +00:00
nbd
b079d40fb7 add an extra safety check
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10389 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-05 01:47:47 +00:00
nbd
afa5da1d1b Here comes the new UCI. Enjoy :)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10367 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-03 06:48:15 +00:00
blogic
be6fa77dfb make the system have a daemon user by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10293 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-28 18:16:00 +00:00
blogic
57f5643ac3 add generic gpio char dev for CONFIG_GENERIC_GPIO archs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10261 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-26 03:16:11 +00:00
nbd
f90cb20b9a missing optional parameters for restart and boot functions
Add missing optional parameters in remaining rc functions.
It fixes my previous implementation of parametrized rc functions [8106],
ticket #3063, thanks argovela-at-yahoo-com for reporting.

Signed-off-by: Lubos Stanek (lubek) <lubek@lubek.name>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10245 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-25 10:59:40 +00:00
nbd
82d2ff5e3f add uci_set_default (to be used in init scripts or /etc/uci-defaults)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10086 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-02 17:10:16 +00:00
nbd
9af5c8e8cf 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
nbd
213a25b6eb 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
juhosg
8a1d2d9ac0 [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
nbd
f2ea91f2c1 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
nbd
ed0067022d refactor hotplug2 rules, make sure that the default button rule is only used during the init (should fix #2772)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9644 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-01 17:08:04 +00:00
nbd
bb7ec42ea8 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
nbd
8dc03d7740 drop the '0' default in config_get_bool
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9618 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-28 19:02:46 +00:00
nbd
fadaa82e81 init: check permissions on rc.d files
We try to unconditionally execute /etc/rc.d/* files, even if they're
not executable - an easy way of temproarily disabling a service. When
this happens, we get a permission denied error on boot.

This change only tries to run execulable startup scripts.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9607 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-28 02:36:14 +00:00
nbd
0d9004633d init: don't start hotplug2 if it doesn't exist
The current init script always tries to start hotplug 2, even if
it's not present, so we get an error on boot.

This change checks for the presence of the hotplug2 binary before
trying to start it.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9606 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-28 02:36:10 +00:00
florian
bc2b4b018b 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
nbd
21f4cf973f 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
juhosg
6c9dfba3e2 [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
juhosg
d73a69babb [packages] 6tunnel: move init/config files to the right place
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9453 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-27 07:12:13 +00:00
florian
9cfe7653c1 Enable IPv6 forwarding by default (#2527)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9435 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-24 18:44:07 +00:00
florian
4eaf1837af Mark 6tunnel as executable, avoids ": /etc/init.d/rcS: line 8: /etc/rc.d/S466tunnel: Permission denied"
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9424 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-24 13:42:15 +00:00
florian
6d6cdb60aa Turn off stp by default, thanks ejka
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9345 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-18 13:20:02 +00:00
florian
a998955b82 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
8c019c3a53 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
blogic
090556e1f8 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
998820411b 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
thepeople
10208a7eb1 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
nbd
b7bfd6b6ea 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
juhosg
7aa11efc17 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
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
9c407b3b07 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
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
florian
e7c233e67e 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
418adb8b4e 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
nbd
5668f2ec21 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
nbd
6db7ad74f6 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
nbd
235b19acea 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
nico
c4b73fa154 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
nbd
17c7b6c3fd 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
nico
76c7aa6ffa 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
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
12c49b6a6a 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
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
nbd
5493237787 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
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
29ea206141 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
nbd
61060584fe 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
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
305cc5a452 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
ab9b22a07a 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
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
fa2a6d6883 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
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
31a89af3be 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
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
mbm
ff77b035d0 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
mbm
ba2d065090 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
nbd
e84d529127 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
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
mbm
a9d4da075e 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
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
e6477dde69 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
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
31cf560484 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
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
534abbee1d 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
kaloz
ac52e3bd03 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
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
thepeople
f4fb35b391 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
mbm
1f9301993a 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
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
5f4cd74dd6 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
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
a87f6b14b4 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
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
6853d4d1ef 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
mbm
db92693c28 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
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
9c0d199275 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
mbm
3c976d4432 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
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
ejka
e24972ad73 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
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
mbm
b1c117aeeb 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
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
561a7c4c00 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
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
florian
bdece74f4d 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
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
2a86ef5abf 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
nbd
21479fd2fd 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
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
nbd
cdce6a14fb 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
nbd
7e7f65ca92 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
11543233b2 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
3195575d36 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
nbd
120707c71e 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
nbd
35542adfe3 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
a9d604c520 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
nbd
8e779fde4f /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
cbfddaacee 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
nbd
f1bcf559df 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
nbd
2b4ca3e363 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
nbd
1addd4cc9c 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
nbd
d4c03cdd53 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
ejka
312e4176e0 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
nbd
4ab4dc8ed8 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
nbd
54da7c4cde 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
nbd
2c1882e0bb 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
mbm
af5a1e3a29 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
nbd
a1aed6ae61 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
nbd
e8311cb171 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
nbd
6af5ae98a3 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
nbd
203cccc4a2 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
nbd
b96d214468 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
nbd
1ce8862ab4 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
nbd
c35ce18c29 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
kaloz
130f4efa38 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
nbd
4c91a37b27 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
pavlov
f5ab57b335 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
nbd
c4ce6af0a0 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
nbd
ecec813b40 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
nbd
1ebe6d3488 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
nbd
8ab2244c0d 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
nbd
796420d428 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
nbd
79386b5db7 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
nbd
5f9c2e9fa6 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
nbd
6f12a935c7 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
mbm
80d27b5e3c 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
nbd
7af01d4894 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
nbd
a5f42890e4 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
nbd
0844ee3f41 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
nbd
8072d81b1c 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
nbd
8ab1f53d63 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
f1df2a74a7 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
nbd
a2b248eea7 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
nbd
4c0cc0fb0b 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
nbd
b766f54386 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
nbd
f8c8554553 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
nbd
5ad62fbdd3 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
nbd
afacc5b25a 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
nbd
799bc42c35 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
nbd
f8c80695b9 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
nbd
ad3f176124 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
nbd
2bfeaa3564 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
nbd
4ec142cba0 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
9c2c7fac47 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
nbd
53c5ad6fa8 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
nbd
f89b5a949e 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
nbd
40f0bd6351 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
nbd
533670025d 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
mbm
3c0d0b56fb 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
mbm
ffa580ddcf 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
nbd
a4a6443af1 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
nbd
05adaa9794 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
nbd
356535ffd7 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
nbd
6f447d09df 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
mbm
b74bce2440 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
mbm
0936143bd8 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
nbd
9372f0a134 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
nbd
5ce0b62462 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
mbm
785dc43d56 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
mbm
4fae1f4d2d 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
nbd
29b117bb79 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
mbm
9e1bfc557c 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
nbd
e4eea6c08a 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
nbd
34b5995eff 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
nbd
85668687d8 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
nbd
4da0e45d07 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
nbd
5be70dfb57 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
nbd
d923cf1e3f 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
nbd
11cdd8c18e 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
nbd
a0bf68dfcc 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
nbd
a2e6a5c099 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
nbd
23b9420c55 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
nbd
e05757ed0b 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
nbd
278a5944a8 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
nbd
3aa8ae94b0 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
nbd
e3eab11e63 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
a53693f2f5 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
2a048c6e56 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
ed99f7ba39 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
nbd
4c219a52f7 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
nbd
8167175013 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
nbd
4df90b5081 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
nbd
edfafff062 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
nbd
fbaefdbf9d reset CONFIG_SECTION when calling config_load
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5318 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-28 00:40:17 +00:00
nbd
93b646c8f5 add protection against running cf2nand from yaffs2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5301 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-26 02:15:22 +00:00
nbd
cea208a5bb add cf2nand script for copying a cf card installation to nand flash automatically on rb532
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5300 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-26 02:09:30 +00:00
nbd
11f6a780e5 add lookup function for mtd parts
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5299 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-26 01:35:50 +00:00
nbd
0d67238dc6 use lock to remove race conditions in bringing up ppp and dhcp that would lead to multiple active processes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5298 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-26 01:33:36 +00:00
nbd
6628b238eb make network scripts more robust, prevent multiple instances of pppd and udhcpc for the same interface
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5290 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-24 23:59:08 +00:00
nbd
e2f8c9d2e4 add netconfig fix for wl-500g premium
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5287 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-24 18:51:10 +00:00
nbd
1c90db6195 remove an obsolete function
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5280 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-24 14:15:14 +00:00
nbd
c7c173fcd9 fix typo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5270 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-23 16:38:47 +00:00
nbd
c5a86e2fbb template.awk fix processing of certain config file formats
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5249 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-20 12:56:42 +00:00
nbd
b73050fb3f move /usr/lib/parse-config.awk to /lib/config/template.awk
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5244 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-20 00:13:34 +00:00
nbd
346b56b086 hacks for supporting the toshiba wrc-1000
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5192 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-17 17:07:35 +00:00
nbd
1c2ebc22c1 remove support for obsolete /etc/modules file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5173 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-16 23:23:58 +00:00
nbd
5d33137a97 remove nvram.sh
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5153 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-16 04:32:21 +00:00
nbd
8864f5ea2f fix typo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5131 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-15 21:22:51 +00:00
nbd
5eca1169a0 init script cleanup, use /etc/rc.d/ for enabled scripts, /etc/init.d/<pkgname> (enable|disable) manages symlinks
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5128 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-15 21:03:30 +00:00
nbd
b4617a34ff fix error message
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5119 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-15 16:24:13 +00:00
nbd
3153b44635 remove all broadcom interfaces from bridges and bring them down completely when wifi down is called
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5116 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-15 15:50:02 +00:00
nbd
95e7b381e9 add protection for bridging interface changes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5115 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-15 15:44:39 +00:00
nbd
6aa6b0b1a0 remove the wifi interface from the default bridge
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5114 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-15 15:32:14 +00:00
nbd
b573d8ec23 implement simple device autodetection for wifi drivers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5113 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-15 15:27:34 +00:00
nbd
564ea3531f save the real configured interface name in the 'device' variable when running scan_interfaces() - fixes pppoe problems
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4983 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-09 12:35:31 +00:00
nbd
2f1f57762e add new /bin/uci script and api for manipulating buildroot-ng config files
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4982 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-09 05:59:26 +00:00
nbd
6dfd012e68 fix shell escaping bug in append() function
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4981 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-09 04:29:27 +00:00
nbd
c9ab557bc5 add 1 second delay for natsemi ifup (sometimes won't come up otherwise)
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4980 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-09 04:01:36 +00:00
nbd
91ef5b68e2 fix a small bug in the parse-config script
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4969 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-08 19:16:04 +00:00
nbd
cf496205a8 minor cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4939 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-06 20:24:05 +00:00
nbd
d34d371ffc hide enable/disable functions, not active yet
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4921 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-04 22:46:17 +00:00
nbd
e69054f277 fix displayed name in init script help text
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4916 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-04 20:09:14 +00:00
nbd
cf123d2a16 add new rc.common for standardized init scripts, convert existing init scripts
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4915 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-04 20:05:48 +00:00
nbd
3cf72ac0ab move arch specific base-files install call to the end of the generic one - fixes wrong /etc/config/network
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4914 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-04 20:03:26 +00:00
nbd
b9f75a560d don't recreate the resolv.conf file from the dhcp script if no dhcp server is supplied (reported by exobyte)
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4903 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-03 19:38:34 +00:00
nico
8afb23270d new (last?) attempt at standardizing Makefiles
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4855 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-09-24 20:49:31 +00:00
nbd
139dfb16c8 use absolute paths in include() shell function
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4852 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-09-24 13:32:18 +00:00
mbm
03d9262412 bring up loopback by default
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4793 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-09-15 22:25:03 +00:00
mbm
203fe174cc change more to less
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4774 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-09-07 17:40:28 +00:00
nbd
6c87a8b877 remove default network config for brcm
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4752 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-09-04 23:51:30 +00:00
nbd
cc845615ce fix ipcalc (off by 1)
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4737 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-09-03 05:35:43 +00:00
nbd
fa7705c9b1 add default /etc/config/network
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4706 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-30 04:08:35 +00:00
mbm
9a0a2cab80 change hotplug trigger to a simpler awk command
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4685 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-27 11:22:56 +00:00
mbm
465de48141 fix minor typo & move loopback to network config
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4683 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-27 11:11:55 +00:00
nbd
f7d68e0a92 fix find_config() in the network scripts
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4682 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-27 10:05:58 +00:00
mbm
85b201f545 clean up hotplug mounting scripts
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4673 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-26 01:04:43 +00:00
nbd
00394c5771 revert to using *_ifnames internally, too many problems with firewall, ppp, etc. otherwise
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4653 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-24 13:46:47 +00:00
nbd
8aff78b009 default value for *_device in scan_interfaces
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4652 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-24 13:22:53 +00:00
nbd
4092003baf fix remaining *_ifnames references
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4650 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-24 12:20:02 +00:00
nbd
a8a833f845 change 'ifnames' to 'ifname' in network config, fix #697
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4638 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-23 18:47:31 +00:00
nbd
15651c68cf fix typo
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4608 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-19 14:45:14 +00:00
mbm
20f30a6346 add secret option to use host's toolchain when native compiling
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4553 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-10 19:25:26 +00:00
nbd
3692c8f246 fix ppp related bug in the network scripts
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4437 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-04 09:50:11 +00:00
nbd
fcade56219 fix typo
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4386 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-01 23:19:54 +00:00
nbd
fd40fb97f8 fix more instances of '' abuse
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4326 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-07-30 13:21:18 +00:00
nbd
c4f3575368 rewrite of the network scripts and configuration
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4323 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-07-30 03:09:09 +00:00
nbd
31d94a76a7 avoid using a reserved word as a variable name
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4322 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-07-29 20:25:55 +00:00