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

216 Commits

Author SHA1 Message Date
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
nbd
1addd4cc9c small cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6663 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-24 13:42:53 +00:00
nbd
d4c03cdd53 add an optional parameter to scan_interfaces() that can override the network config file (defaults to 'network')
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6619 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-19 22:06:31 +00:00
ejka
312e4176e0 Move /sys on pivot_root too
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6603 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-18 13:47:28 +00:00
nbd
4ab4dc8ed8 upgrade dnsmasq to latest version, rewrite dnsmasq init script for uci, rename /bin/ipcalc to /bin/ipcalc.sh (fixes #1452)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6595 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-17 13:31:13 +00:00
mbm
af5a1e3a29 add a new 'option disabled' to wifi-device
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6576 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-16 13:56:36 +00:00
nbd
a1aed6ae61 Add an 'Image Configuration' menu to menuconfig
Packages can export a list of config options with labels and data types
through the metadata. The selected config values will be exported to the
target filesystem in /etc/uci-defaults and applied on the first boot.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6572 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-16 03:02:31 +00:00
nbd
e8311cb171 add new config option for the hostname in /etc/config/system (fixes #1302, #1438)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6532 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-06 21:28:57 +00:00
nbd
6af5ae98a3 add vga console support for x86-2.6 images (fixes #1342, #840)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6530 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-06 19:13:40 +00:00
nbd
203cccc4a2 nuke mdev and replace it with hotplug2 :)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6512 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-04 20:31:53 +00:00
nbd
b96d214468 only mount sysfs once (thx, ejka)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6504 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-04 14:27:52 +00:00
nbd
1ce8862ab4 add failsafe support for x86-2.6 and fix mdev support for platforms using /etc/preinit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6481 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-03 22:32:13 +00:00
nbd
c35ce18c29 don't run mdev on hotplug pseudo-events that come from user space
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6480 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-03 20:59:49 +00:00
kaloz
130f4efa38 R.I.P. devfs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6478 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-03 20:35:01 +00:00
nbd
4c91a37b27 make find_mtd_part work without devfs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6466 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-02 19:01:49 +00:00
nbd
c4ce6af0a0 add support for static routes - based on the patch from #1365
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6457 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-02 15:48:29 +00:00
nbd
ecec813b40 add support for if{down,up} -a and implement proper start/stop/restart for /etc/init.d/network
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6455 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-02 13:21:33 +00:00
nbd
1ebe6d3488 make squashfs overlay support more generic and integrate it for x86-2.6
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6450 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-02 01:23:36 +00:00
nbd
8ab2244c0d add a check for brctl in the unbridge() function (fixes #1417)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6410 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-27 23:34:14 +00:00
nbd
796420d428 move config_get_bool from /sbin/wifi to /etc/functions.sh
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6407 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-27 23:09:57 +00:00
nbd
79386b5db7 Integrate basic UCI config file validation support
Needs more testing and validation is not enforced yet

Code contributed by Fraunhofer Fokus


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6391 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-26 20:04:04 +00:00
nbd
5f9c2e9fa6 more reliable fix for handling ppp
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6356 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-25 13:45:45 +00:00
nbd
6f12a935c7 integrate the fix from #1348 and clean up the network scripts a bit...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6355 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-25 12:52:02 +00:00
mbm
80d27b5e3c Change localhost into a fully qualified name; remove OpenWrt alias to 127.0.0.1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6292 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-12 22:54:56 +00:00
nbd
7af01d4894 fix typos in ifdown (patch from #1319)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6272 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-06 01:02:30 +00:00
nbd
a5f42890e4 fix a typo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6228 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-29 22:07:17 +00:00
nbd
0844ee3f41 add broadcast setting for /etc/config/network interfaces
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6225 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-27 21:58:03 +00:00
nbd
8072d81b1c make usb init script executable
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6203 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-25 17:42:07 +00:00
nbd
8ab1f53d63 use syslogd -C16 instead of syslogd -C 16 (busybox 1.4 compatibility)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6202 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-25 17:39:38 +00:00
florian
f1df2a74a7 Mount usb filesystem at startup (#1077)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6163 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-21 18:11:27 +00:00
nbd
a2b248eea7 ignore the bridge option if brctl is not available
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6145 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-20 15:28:47 +00:00
nbd
4c0cc0fb0b Fix the issue where the default gateway is not set
in static mode most of the time. Seems like the bridge
is not fast enough at switching to 'forwarding' mode
so a short delay before setting the routes is necessary.



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6123 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-17 21:29:53 +00:00
nbd
b766f54386 add checks for {ip,ip6}addr in the network config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6099 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-14 22:29:13 +00:00
nbd
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
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