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

397 Commits

Author SHA1 Message Date
hauke
883ca719d3 [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
jow
cc9443e4a7 [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
9c3bf81864 [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
matein4
8878fc63f1 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
dd8b9f6554 [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
nbd
5bd5e4e086 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
jow
15f9be1011 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
jow
e713ba8d94 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
jow
bcab48e4d5 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
nbd
a0accd105e 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
nbd
f479350b0c 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
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
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
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
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
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
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
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
6c1223e189 add sysupgrade script for config preserving system upgrades. only implemented for x86-2.6 at the moment, but can be ported to other platforms easily
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8456 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-21 18:23:57 +00:00
nbd
3c77e53b3f fix a race condition with dynamic interfaces and firewalling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8343 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-04 13:26:41 +00:00
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
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
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
2d4bdf6086 use separate sysctl.conf files for 2.4 and 2.6 - fixes some boot message spam
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7043 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-24 12:05:52 +00:00
nbd
461a3827fb we can use some more hotplug processes here...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6980 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-16 23:58:46 +00:00
nbd
6dbdf08f38 add jffs2_mark_erase function for erasing jffs2 partitions on the next mount (typically faster than doing mtd erase manually)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6978 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-16 23:29:44 +00:00
nbd
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
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