Felix Fietkau
18de319d9d
make squashfs overlay support more generic and integrate it for x86-2.6
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6450 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-02 01:23:36 +00:00
Felix Fietkau
81b82549d6
add a check for brctl in the unbridge() function ( fixes #1417 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6410 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-27 23:34:14 +00:00
Felix Fietkau
f8e0bf987f
move config_get_bool from /sbin/wifi to /etc/functions.sh
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6407 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-27 23:09:57 +00:00
Felix Fietkau
0c9d637c2b
Integrate basic UCI config file validation support
...
Needs more testing and validation is not enforced yet
Code contributed by Fraunhofer Fokus
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6391 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-26 20:04:04 +00:00
Felix Fietkau
b66907b65d
more reliable fix for handling ppp
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6356 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-25 13:45:45 +00:00
Felix Fietkau
30c55d788e
integrate the fix from #1348 and clean up the network scripts a bit...
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6355 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-25 12:52:02 +00:00
Mike Baker
b3e2982d27
Change localhost into a fully qualified name; remove OpenWrt alias to 127.0.0.1
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6292 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-12 22:54:56 +00:00
Felix Fietkau
74f4d3ee6d
fix typos in ifdown (patch from #1319 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6272 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-06 01:02:30 +00:00
Felix Fietkau
6dcfb98800
fix a typo
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6228 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-29 22:07:17 +00:00
Felix Fietkau
18db71bc7a
add broadcast setting for /etc/config/network interfaces
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6225 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-27 21:58:03 +00:00
Felix Fietkau
1dca8493f3
make usb init script executable
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6203 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-25 17:42:07 +00:00
Felix Fietkau
2488cd4e0a
use syslogd -C16 instead of syslogd -C 16 (busybox 1.4 compatibility)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6202 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-25 17:39:38 +00:00
Florian Fainelli
9582bbf434
Mount usb filesystem at startup ( #1077 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6163 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-21 18:11:27 +00:00
Felix Fietkau
ece171847f
ignore the bridge option if brctl is not available
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6145 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-20 15:28:47 +00:00
Felix Fietkau
d64e90a6f8
Fix the issue where the default gateway is not set
...
in static mode most of the time. Seems like the bridge
is not fast enough at switching to 'forwarding' mode
so a short delay before setting the routes is necessary.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6123 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-17 21:29:53 +00:00
Felix Fietkau
a455d0988c
add checks for {ip,ip6}addr in the network config
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6099 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-14 22:29:13 +00:00
Felix Fietkau
b2e87f2906
Fix the annoying base-files autorebuild bug.
...
When checking file mtimes in directories, timestamp.pl was following symlinks.
This broke on base-files, because there are symlinks to /tmp and to /proc/mounts in the build directory.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6084 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-12 11:09:05 +00:00
Felix Fietkau
bd078bad0f
Forward port whiterussian resolv.conf changes
...
/etc/resolv.conf links to /tmp/resolv.conf
/tmp/resolv.conf links to /tmp/resolv.conf.auto by default (which is where the ISPs nameserver is in)
When dnsmasq starts, it replaces /tmp/resolv.conf with a file pointing to 127.0.0.1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6043 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-08 21:33:53 +00:00
Felix Fietkau
7a71618416
don't try to automount loopback devices ( #1011 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5877 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-20 05:29:52 +00:00
Felix Fietkau
8b3f951d40
add a workaround for self-killing init scripts on restart ( #1023 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5876 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-20 05:26:39 +00:00
Felix Fietkau
b102a2846f
add a variable to keep track of the list of sections when loading uci config files. add a function to iterate through sections
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5870 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-20 04:15:13 +00:00
Felix Fietkau
6357539faa
fix CONFIG_FILENAME in uci_commit()
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5791 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-14 17:29:51 +00:00
Felix Fietkau
d2fb93ec99
fix typo
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5790 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-14 17:28:19 +00:00
Felix Fietkau
7ac94dfc7e
fix uci_load trash output ( #1040 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5745 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-10 03:37:14 +00:00
Florian Fainelli
ccc54474f5
Set up ipv6 address if provided in network configuration ( #1028 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5738 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-09 16:57:31 +00:00
Felix Fietkau
6c20cfaf1d
add a check to see if an init script is enabled
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5727 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-08 17:56:05 +00:00
Felix Fietkau
76611e547d
fix a typo
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5719 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-08 11:25:10 +00:00
Felix Fietkau
ba15ccf6f0
add option for setting the mac address ( #1014 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5690 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-04 23:22:06 +00:00
Felix Fietkau
b9149fa353
fix typo in /sbin/wifi ( #1016 - thanks, dairiki)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5689 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-04 23:11:47 +00:00
Mike Baker
5cd910510b
small tweaks to the usb disk hotplug scripts
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5667 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-28 18:37:37 +00:00
Mike Baker
9b3fb9dbb7
fix sed error installing kmod ipkgs
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5629 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-23 18:22:06 +00:00
Felix Fietkau
5a32593057
replace lots of manual install commands with INSTALL_* variables
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5624 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-23 00:29:07 +00:00
Felix Fietkau
fbef19a70d
rename default/ to files/
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5622 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-22 23:30:57 +00:00
Felix Fietkau
0cbe723631
move platform specific base-files into target/linux/<targetname>
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5621 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-22 23:27:29 +00:00
Felix Fietkau
36dbcb9b37
move busybox init scripts from base-files into the busybox package and make them depend on busybox menuconfig options
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5620 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-22 23:06:40 +00:00
Mike Baker
d6484c3747
fix broken export from last commit
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5618 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-22 21:49:49 +00:00
Mike Baker
af9bcd14fe
avoid eval leaks
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5617 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-22 21:39:44 +00:00
Felix Fietkau
2afcd0174e
fix various variable copying bugs
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5613 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-22 13:32:24 +00:00
Felix Fietkau
4cdc609d0e
fix svn:executable property on /etc/init.d/done
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5612 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-21 22:05:41 +00:00
Mike Baker
b44a1aef3c
cleanup uci and functions.sh
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5597 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-21 02:13:08 +00:00
Mike Baker
0a8080407b
strtok helper function
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5592 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-20 19:30:50 +00:00
Felix Fietkau
1d7168260e
hopefully fix duplicate ppp instances ( #895 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5577 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-18 23:19:32 +00:00
Mike Baker
3b8123da2e
correct typo in 'uci get'
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5557 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-17 22:54:50 +00:00
Felix Fietkau
bc290be67a
fix typo
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5554 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-17 05:31:21 +00:00
Felix Fietkau
98206a36df
cosmetic led state change fix
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5550 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-17 04:45:31 +00:00
Felix Fietkau
6079171a5e
add failsafe mode and mini_fo mounting support for brcm-2.4 and brcm-2.6
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5544 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-17 03:07:10 +00:00
Felix Fietkau
cfea8f5952
remove broadcom specific stuff from default base files
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5543 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-17 02:58:22 +00:00
Felix Fietkau
768b48f380
implement target profiles in menuconfig
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5512 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-12 05:06:56 +00:00
Felix Fietkau
b29914db0d
fix jffs2root compile
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5500 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-12 01:35:03 +00:00
Felix Fietkau
6566668921
move two functions from broadcom.sh to /sbin/wifi
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5496 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-11 12:57:23 +00:00
Felix Fietkau
585b116050
make sure udhcpc is spawned as a background process (use eval)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5494 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-09 23:50:47 +00:00
Felix Fietkau
5c78bab47c
add support for -t 0 (infinite retry) in busybox udhcpc and use it in the network scripts
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5493 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-09 23:41:50 +00:00
Felix Fietkau
ac49f2ad3e
fix dhcp hotplug events
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5491 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-09 23:05:54 +00:00
Felix Fietkau
396517ef21
fix ifdown hotplug event for static
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5490 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-09 22:22:45 +00:00
Felix Fietkau
b11a051525
fix ifup hotplug event for static
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5489 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-09 22:11:11 +00:00
Felix Fietkau
dbdbdbbeb3
fix for multiple extra commands in init scripts using rc.common
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5488 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-09 21:43:04 +00:00
Felix Fietkau
181d78d0b9
fix potential data loss issue on failed umount (patch from #942 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5474 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-09 02:02:13 +00:00
Florian Fainelli
e0d91f8546
Ensure dropbear is installed before disabling telnet ( #920 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5465 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-07 16:40:07 +00:00
Florian Fainelli
c3ee48d9f9
Change httpd realm to match the hostname ( #932 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5464 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-07 16:37:09 +00:00
Florian Fainelli
36f10c5837
Test if symbolic is already there ( #886 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5442 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-04 12:47:45 +00:00
Felix Fietkau
5898135689
call interface stop handler on ifdown
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5432 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-04 00:01:51 +00:00
Felix Fietkau
f487e44bbb
rename the <boardname>-<kernelversion> directories of base-files to just <boardname>, so that the broadcom stuff can share files across kernel versions. adding back <boardname>-<kernelversion> for version specific overrides is still possible
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5427 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-03 22:03:50 +00:00
Felix Fietkau
71b6c5ea21
add config option for autostart of network interfaces
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5425 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-03 21:57:35 +00:00
Felix Fietkau
b2cf662a0d
fix missing variable assignment (found by db90h)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5395 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-03 02:08:17 +00:00
Felix Fietkau
c17b680a77
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
Felix Fietkau
ad6d1b5f97
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
Felix Fietkau
68219c06b8
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
Felix Fietkau
4cdea535e0
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
Felix Fietkau
d60a55ea0e
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
Felix Fietkau
85926fd547
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
Felix Fietkau
2ca894a76e
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
Felix Fietkau
dc8b9cbe8e
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
Felix Fietkau
9112bae18f
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
Felix Fietkau
af117006ba
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
Felix Fietkau
82ee8dabab
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
Felix Fietkau
3f9c9010c1
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
Felix Fietkau
38bd53b7ae
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
Felix Fietkau
4cad0f5cc4
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
Felix Fietkau
a2b7962cd6
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
Felix Fietkau
c731d42b1a
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
Felix Fietkau
a7efa9b2aa
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
Felix Fietkau
f8201d3a2b
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
Felix Fietkau
e5c71fccdb
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
Felix Fietkau
57eccdf588
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
Felix Fietkau
e7bfe6d7a7
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
Felix Fietkau
2b68446157
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
Felix Fietkau
5797c34cf4
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
Felix Fietkau
d30dc59b74
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
Felix Fietkau
4ec2bfc56e
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
Felix Fietkau
0edc1e6cbf
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
Felix Fietkau
9e66f218fa
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
Felix Fietkau
bb91b8c2fa
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
Felix Fietkau
0611c7a036
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
Felix Fietkau
3aa127d7a5
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
Felix Fietkau
f73469514d
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
Felix Fietkau
7e9bc6aacd
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
Nicolas Thill
ecb6c4b599
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
Felix Fietkau
57c6e6b156
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
Mike Baker
3b6a5de958
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
Mike Baker
d5fa051bb7
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
Felix Fietkau
3b866fdd85
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
Felix Fietkau
09b569dcde
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
Felix Fietkau
89e49bef8a
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
Mike Baker
596ac42047
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
Mike Baker
baef996bf0
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
Felix Fietkau
b22c99747f
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
Mike Baker
b659e450d0
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
Felix Fietkau
579883fabc
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
Felix Fietkau
1a2a3a71d9
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
Felix Fietkau
fd33bd769e
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
Felix Fietkau
4610174ffd
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
Felix Fietkau
a09eff835e
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
Mike Baker
92167e1067
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
Felix Fietkau
b858ed4dba
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
Felix Fietkau
5386c56164
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
Felix Fietkau
165859eefe
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
Felix Fietkau
d3a6fe9915
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
Felix Fietkau
d5aeb26455
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
Felix Fietkau
85b8f04fac
fix unnamed config sections
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4321 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-07-29 19:59:45 +00:00
Felix Fietkau
d030852b98
add support for per-package prereq checks, run global prereq checks before (menu-)config
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4318 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-07-29 11:30:06 +00:00
Gerry Rozema
405ebe8078
Minor change to firstboot, closes #591
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4307 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-07-27 19:22:40 +00:00
Felix Fietkau
f15e613e2b
use 127.0.0.1 as dns server and point dnsmasq to /tmp/resolv.conf
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4282 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-07-25 18:12:30 +00:00
Imre Kaloz
c6d4ef494e
sync the sysctls with whiterussian, and tune the conntrack timeouts
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4133 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-07-17 09:29:25 +00:00
Mike Baker
559a8aec55
cleanup of [4123]
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4125 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-07-10 23:21:56 +00:00
Mike Baker
7aa6d19eb0
add a new FORCEREBUILD option to Package/<name> to force a package to be rebuilt each time make is run
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4123 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-07-10 21:17:45 +00:00
Nicolas Thill
f722b9992a
move libpthread in since it's part of uclibc, standardize Makefile.
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4105 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-07-02 13:36:54 +00:00
Mike Baker
f9e5c1b1d5
credit where credit is due
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4091 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-27 00:35:46 +00:00
Felix Fietkau
d746a3c00a
add copyright headers to base-files scripts and config files
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4090 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-27 00:36:13 +00:00
Felix Fietkau
2a5c738619
don't rely on temporary variables in config() as they may get overwritten by config_cb()
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4088 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-26 22:44:53 +00:00
Felix Fietkau
17598972ed
work around a busybox bug
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4075 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-25 16:24:45 +00:00
Felix Fietkau
1590d3020a
add a simple /sbin/wifi script with support for the new broadcom driver (incomplete, but works)
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4072 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-25 15:42:53 +00:00
Felix Fietkau
52db7da3b4
fixes for common config functions
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4071 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-25 15:32:30 +00:00
Felix Fietkau
1f3a32108b
nuke jffs2root --move from init scripts
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4063 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-23 20:22:54 +00:00
Mike Baker
4cd3d1fab1
.pkginfo cleanup #2
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4053 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-23 00:49:42 +00:00
Felix Fietkau
24cf53528f
add INCLUDE_DIR variable for $(TOPDIR)/include
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4033 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-21 02:32:39 +00:00
Felix Fietkau
08cbdbc1b0
build system cleanup. move shared include files into $(TOPDIR)/include, move lzma, mkfs.* into toolchain/
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4032 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-21 02:16:37 +00:00
Felix Fietkau
c5fd401083
mount /proc earlier in /sbin/mount_root
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4022 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-20 15:40:14 +00:00
Felix Fietkau
5f5b339a14
add a list append function to functions.sh
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4014 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-19 21:45:07 +00:00
Nicolas Thill
c12c40f4a6
normalize Makefiles.
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3998 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-18 18:30:40 +00:00
Felix Fietkau
ffc26a52c7
add conffiles for base-files
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3986 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-18 13:38:23 +00:00
Felix Fietkau
f4b5800480
add missing base-files for rb532
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3980 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-18 12:40:42 +00:00
Mike Baker
2f08d56453
obsolete file
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3971 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-17 09:51:55 +00:00
Felix Fietkau
705882aaab
clean up handling of the root filesystem mount - remove broadcom specific junk from the generic base-files part
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3951 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-15 17:21:17 +00:00
Felix Fietkau
3496b2283a
remove libgcc hack
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3943 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-13 23:33:21 +00:00
Felix Fietkau
0a58a0f00e
make ramdisk support generic, some cleanups
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3911 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-07 23:59:04 +00:00
Felix Fietkau
735af968e0
fix a typo that prevents base-files from being installed
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3894 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-02 16:03:03 +00:00
Felix Fietkau
8169e62b1d
fix base-files version number
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3888 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-01 23:20:10 +00:00
Felix Fietkau
2f06ccc9f1
kernel package cleanup, move madwifi from target/linux/package/ to package/, update to 0.9.0
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3860 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-05-31 14:32:17 +00:00
Felix Fietkau
bab43e3269
cleanup; change base-files build directory
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3858 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-05-31 13:27:11 +00:00
Felix Fietkau
9b305384e4
allow building of kernel-specific stuff in package/ instead of target/linux/package/ and merge target/linux/package/base-files into package/base-files
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3855 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-05-31 12:33:06 +00:00