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

349 Commits

Author SHA1 Message Date
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
nbd
2d32a51fd3 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
nbd
432ce85854 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
groz
80bd0d7fde 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
nbd
37ba07b32c 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
kaloz
f30d39b242 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
mbm
bbeb64c6e9 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
mbm
e9437d222f 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
nico
48e7e69b2a 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
mbm
02cdebbb91 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
nbd
ed5ef674d1 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
nbd
64b834585d 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
nbd
8b9fd7eb0b 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
nbd
d3abc2c9f5 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
nbd
ffbd3e6165 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
nbd
3eb60d771b 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
mbm
9dfcb239f2 .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
nbd
0b0afa4d81 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
nbd
859e8f7f7d 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
nbd
293ad9c61e 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
nbd
4f09c2f1f6 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
nico
4e00d98efd 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
nbd
7f7c42abe9 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
nbd
d8919b0e36 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
mbm
e32fa5e73b 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
nbd
7885524586 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
nbd
72f68d6763 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
nbd
9f1c460264 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
nbd
716ea88394 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
nbd
50a26cd5e2 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
nbd
9e0015224d 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
nbd
83ce4604cc 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
nbd
f21c448c6d 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
nico
3c17bb247f fix base-files packages build.
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3852 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-05-31 06:49:51 +00:00
nbd
34d342e6d4 convert base-files to new format
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3849 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-05-30 20:22:58 +00:00
nbd
3291e76d68 remove old Config.in files
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3845 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-05-30 19:41:55 +00:00
nbd
be8ad0190d resync with kamikaze
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3844 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-05-30 19:38:38 +00:00