nbd
561a7c4c00
Small bugfix for dependency handling - mostly for base-files and symlinks
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7058 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-26 18:04:16 +00:00
nbd
2d4bdf6086
use separate sysctl.conf files for 2.4 and 2.6 - fixes some boot message spam
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7043 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-24 12:05:52 +00:00
florian
bdece74f4d
Create /lib/firmware
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7033 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-22 15:00:19 +00:00
nbd
461a3827fb
we can use some more hotplug processes here...
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6980 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-16 23:58:46 +00:00
nbd
6dbdf08f38
add jffs2_mark_erase function for erasing jffs2 partitions on the next mount (typically faster than doing mtd erase manually)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6978 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-16 23:29:44 +00:00
nbd
2a86ef5abf
fix ifdown hotplug event ( #1576 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6950 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-15 07:23:28 +00:00
nbd
21479fd2fd
fix bogus "interface not found" errors in ifup -a ( #1580 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6949 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-15 07:22:11 +00:00
nbd
4530e52764
remove automounting script for block devices - it's causing more problems than it solves
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6937 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-12 09:49:09 +00:00
nbd
cdce6a14fb
allow scripts to disable config callbacks
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6934 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-11 19:34:20 +00:00
nbd
7e7f65ca92
use rc.common for usb init script
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6873 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-06 16:07:36 +00:00
florian
11543233b2
Remove ldd/ldconfig for the moment ( #1551 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6866 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-04 20:24:06 +00:00
florian
3195575d36
Add ldd and ldconfig support, template packages derived from gcc and uclibc
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6856 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-03 22:50:27 +00:00
nbd
120707c71e
network config: ignore nonexistant interfaces
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6819 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-02 09:41:56 +00:00
nbd
35542adfe3
move /dev/tun to /dev/net/tun
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6814 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-01 23:44:39 +00:00
florian
a9d604c520
Limit the number of hotplug childrens
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6804 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-01 18:30:32 +00:00
nbd
8e779fde4f
/sbin/hotplug-call: export the hotplug event type through the environment for hotplug scripts
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6768 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-31 00:59:49 +00:00
florian
cbfddaacee
Use MiBSD ksh if installed ( #1470 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6687 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-24 21:51:44 +00:00
nbd
f1bcf559df
rename uci-update.awk to uci.awk and add a few config_* functions
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6666 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-24 13:43:04 +00:00
nbd
2b4ca3e363
fix uci commit
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6665 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-24 13:42:55 +00:00
nbd
1addd4cc9c
small cleanup
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6663 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-24 13:42:53 +00:00
nbd
d4c03cdd53
add an optional parameter to scan_interfaces() that can override the network config file (defaults to 'network')
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6619 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-19 22:06:31 +00:00
ejka
312e4176e0
Move /sys on pivot_root too
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6603 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-18 13:47:28 +00:00
nbd
4ab4dc8ed8
upgrade dnsmasq to latest version, rewrite dnsmasq init script for uci, rename /bin/ipcalc to /bin/ipcalc.sh ( fixes #1452 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6595 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-17 13:31:13 +00:00
nbd
54da7c4cde
fix default netmask
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6589 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-17 03:15:41 +00:00
nbd
2c1882e0bb
package libssp for apps that need it (only enabled for gcc4)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6584 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-16 20:37:04 +00:00
mbm
af5a1e3a29
add a new 'option disabled' to wifi-device
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6576 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-16 13:56:36 +00:00
nbd
a1aed6ae61
Add an 'Image Configuration' menu to menuconfig
...
Packages can export a list of config options with labels and data types
through the metadata. The selected config values will be exported to the
target filesystem in /etc/uci-defaults and applied on the first boot.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6572 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-16 03:02:31 +00:00
nbd
e8311cb171
add new config option for the hostname in /etc/config/system ( fixes #1302 , #1438 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6532 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-06 21:28:57 +00:00
nbd
6af5ae98a3
add vga console support for x86-2.6 images ( fixes #1342 , #840 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6530 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-06 19:13:40 +00:00
nbd
203cccc4a2
nuke mdev and replace it with hotplug2 :)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6512 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-04 20:31:53 +00:00
nbd
b96d214468
only mount sysfs once (thx, ejka)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6504 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-04 14:27:52 +00:00
nbd
1ce8862ab4
add failsafe support for x86-2.6 and fix mdev support for platforms using /etc/preinit
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6481 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-03 22:32:13 +00:00
nbd
c35ce18c29
don't run mdev on hotplug pseudo-events that come from user space
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6480 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-03 20:59:49 +00:00
kaloz
130f4efa38
R.I.P. devfs
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6478 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-03 20:35:01 +00:00
nbd
4c91a37b27
make find_mtd_part work without devfs
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6466 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-02 19:01:49 +00:00
pavlov
f5ab57b335
commit profile support for base-files... patches still need to be done
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6465 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-02 18:17:40 +00:00
nbd
c4ce6af0a0
add support for static routes - based on the patch from #1365
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6457 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-02 15:48:29 +00:00
nbd
ecec813b40
add support for if{down,up} -a and implement proper start/stop/restart for /etc/init.d/network
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6455 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-02 13:21:33 +00:00
nbd
1ebe6d3488
make squashfs overlay support more generic and integrate it for x86-2.6
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6450 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-02 01:23:36 +00:00
nbd
8ab2244c0d
add a check for brctl in the unbridge() function ( fixes #1417 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6410 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-27 23:34:14 +00:00
nbd
796420d428
move config_get_bool from /sbin/wifi to /etc/functions.sh
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6407 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-27 23:09:57 +00:00
nbd
79386b5db7
Integrate basic UCI config file validation support
...
Needs more testing and validation is not enforced yet
Code contributed by Fraunhofer Fokus
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6391 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-26 20:04:04 +00:00
nbd
5f9c2e9fa6
more reliable fix for handling ppp
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6356 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-25 13:45:45 +00:00
nbd
6f12a935c7
integrate the fix from #1348 and clean up the network scripts a bit...
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6355 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-25 12:52:02 +00:00
mbm
80d27b5e3c
Change localhost into a fully qualified name; remove OpenWrt alias to 127.0.0.1
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6292 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-12 22:54:56 +00:00
nbd
7af01d4894
fix typos in ifdown (patch from #1319 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6272 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-06 01:02:30 +00:00
nbd
a5f42890e4
fix a typo
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6228 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-29 22:07:17 +00:00
nbd
0844ee3f41
add broadcast setting for /etc/config/network interfaces
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6225 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-27 21:58:03 +00:00
nbd
8072d81b1c
make usb init script executable
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6203 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-25 17:42:07 +00:00
nbd
8ab1f53d63
use syslogd -C16 instead of syslogd -C 16 (busybox 1.4 compatibility)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6202 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-25 17:39:38 +00:00
florian
f1df2a74a7
Mount usb filesystem at startup ( #1077 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6163 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-21 18:11:27 +00:00
nbd
a2b248eea7
ignore the bridge option if brctl is not available
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6145 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-20 15:28:47 +00:00
nbd
4c0cc0fb0b
Fix the issue where the default gateway is not set
...
in static mode most of the time. Seems like the bridge
is not fast enough at switching to 'forwarding' mode
so a short delay before setting the routes is necessary.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6123 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-17 21:29:53 +00:00
nbd
b766f54386
add checks for {ip,ip6}addr in the network config
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6099 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-14 22:29:13 +00:00
nbd
f8c8554553
Fix the annoying base-files autorebuild bug.
...
When checking file mtimes in directories, timestamp.pl was following symlinks.
This broke on base-files, because there are symlinks to /tmp and to /proc/mounts in the build directory.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6084 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-12 11:09:05 +00:00
nbd
5ad62fbdd3
Forward port whiterussian resolv.conf changes
...
/etc/resolv.conf links to /tmp/resolv.conf
/tmp/resolv.conf links to /tmp/resolv.conf.auto by default (which is where the ISPs nameserver is in)
When dnsmasq starts, it replaces /tmp/resolv.conf with a file pointing to 127.0.0.1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6043 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-08 21:33:53 +00:00
nbd
afacc5b25a
don't try to automount loopback devices ( #1011 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5877 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-20 05:29:52 +00:00
nbd
799bc42c35
add a workaround for self-killing init scripts on restart ( #1023 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5876 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-20 05:26:39 +00:00
nbd
f8c80695b9
add a variable to keep track of the list of sections when loading uci config files. add a function to iterate through sections
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5870 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-20 04:15:13 +00:00
nbd
ad3f176124
fix CONFIG_FILENAME in uci_commit()
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5791 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-14 17:29:51 +00:00
nbd
2bfeaa3564
fix typo
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5790 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-14 17:28:19 +00:00
nbd
4ec142cba0
fix uci_load trash output ( #1040 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5745 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-10 03:37:14 +00:00
florian
9c2c7fac47
Set up ipv6 address if provided in network configuration ( #1028 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5738 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-09 16:57:31 +00:00
nbd
53c5ad6fa8
add a check to see if an init script is enabled
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5727 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-08 17:56:05 +00:00
nbd
f89b5a949e
fix a typo
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5719 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-08 11:25:10 +00:00
nbd
40f0bd6351
add option for setting the mac address ( #1014 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5690 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-04 23:22:06 +00:00
nbd
533670025d
fix typo in /sbin/wifi ( #1016 - thanks, dairiki)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5689 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-04 23:11:47 +00:00
mbm
3c0d0b56fb
small tweaks to the usb disk hotplug scripts
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5667 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-28 18:37:37 +00:00
mbm
ffa580ddcf
fix sed error installing kmod ipkgs
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5629 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-23 18:22:06 +00:00
nbd
a4a6443af1
replace lots of manual install commands with INSTALL_* variables
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5624 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-23 00:29:07 +00:00
nbd
05adaa9794
rename default/ to files/
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5622 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-22 23:30:57 +00:00
nbd
356535ffd7
move platform specific base-files into target/linux/<targetname>
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5621 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-22 23:27:29 +00:00
nbd
6f447d09df
move busybox init scripts from base-files into the busybox package and make them depend on busybox menuconfig options
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5620 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-22 23:06:40 +00:00
mbm
b74bce2440
fix broken export from last commit
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5618 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-22 21:49:49 +00:00
mbm
0936143bd8
avoid eval leaks
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5617 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-22 21:39:44 +00:00
nbd
9372f0a134
fix various variable copying bugs
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5613 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-22 13:32:24 +00:00
nbd
5ce0b62462
fix svn:executable property on /etc/init.d/done
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5612 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-21 22:05:41 +00:00
mbm
785dc43d56
cleanup uci and functions.sh
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5597 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-21 02:13:08 +00:00
mbm
4fae1f4d2d
strtok helper function
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5592 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-20 19:30:50 +00:00
nbd
29b117bb79
hopefully fix duplicate ppp instances ( #895 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5577 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-18 23:19:32 +00:00
mbm
9e1bfc557c
correct typo in 'uci get'
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5557 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-17 22:54:50 +00:00
nbd
e4eea6c08a
fix typo
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5554 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-17 05:31:21 +00:00
nbd
34b5995eff
cosmetic led state change fix
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5550 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-17 04:45:31 +00:00
nbd
85668687d8
add failsafe mode and mini_fo mounting support for brcm-2.4 and brcm-2.6
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5544 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-17 03:07:10 +00:00
nbd
4da0e45d07
remove broadcom specific stuff from default base files
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5543 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-17 02:58:22 +00:00
nbd
5be70dfb57
implement target profiles in menuconfig
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5512 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-12 05:06:56 +00:00
nbd
d923cf1e3f
fix jffs2root compile
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5500 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-12 01:35:03 +00:00
nbd
11cdd8c18e
move two functions from broadcom.sh to /sbin/wifi
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5496 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-11 12:57:23 +00:00
nbd
a0bf68dfcc
make sure udhcpc is spawned as a background process (use eval)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5494 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-09 23:50:47 +00:00
nbd
a2e6a5c099
add support for -t 0 (infinite retry) in busybox udhcpc and use it in the network scripts
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5493 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-09 23:41:50 +00:00
nbd
23b9420c55
fix dhcp hotplug events
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5491 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-09 23:05:54 +00:00
nbd
e05757ed0b
fix ifdown hotplug event for static
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5490 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-09 22:22:45 +00:00
nbd
278a5944a8
fix ifup hotplug event for static
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5489 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-09 22:11:11 +00:00
nbd
3aa8ae94b0
fix for multiple extra commands in init scripts using rc.common
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5488 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-09 21:43:04 +00:00
nbd
e3eab11e63
fix potential data loss issue on failed umount (patch from #942 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5474 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-09 02:02:13 +00:00
florian
a53693f2f5
Ensure dropbear is installed before disabling telnet ( #920 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5465 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-07 16:40:07 +00:00
florian
2a048c6e56
Change httpd realm to match the hostname ( #932 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5464 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-07 16:37:09 +00:00
florian
ed99f7ba39
Test if symbolic is already there ( #886 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5442 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-04 12:47:45 +00:00
nbd
4c219a52f7
call interface stop handler on ifdown
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5432 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-04 00:01:51 +00:00
nbd
8167175013
rename the <boardname>-<kernelversion> directories of base-files to just <boardname>, so that the broadcom stuff can share files across kernel versions. adding back <boardname>-<kernelversion> for version specific overrides is still possible
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5427 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-03 22:03:50 +00:00
nbd
4df90b5081
add config option for autostart of network interfaces
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5425 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-03 21:57:35 +00:00
nbd
edfafff062
fix missing variable assignment (found by db90h)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5395 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-03 02:08:17 +00:00
nbd
fbaefdbf9d
reset CONFIG_SECTION when calling config_load
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5318 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-28 00:40:17 +00:00
nbd
93b646c8f5
add protection against running cf2nand from yaffs2
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5301 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-26 02:15:22 +00:00
nbd
cea208a5bb
add cf2nand script for copying a cf card installation to nand flash automatically on rb532
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5300 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-26 02:09:30 +00:00
nbd
11f6a780e5
add lookup function for mtd parts
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5299 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-26 01:35:50 +00:00
nbd
0d67238dc6
use lock to remove race conditions in bringing up ppp and dhcp that would lead to multiple active processes
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5298 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-26 01:33:36 +00:00
nbd
6628b238eb
make network scripts more robust, prevent multiple instances of pppd and udhcpc for the same interface
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5290 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-24 23:59:08 +00:00
nbd
e2f8c9d2e4
add netconfig fix for wl-500g premium
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5287 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-24 18:51:10 +00:00
nbd
1c90db6195
remove an obsolete function
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5280 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-24 14:15:14 +00:00
nbd
c7c173fcd9
fix typo
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5270 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-23 16:38:47 +00:00
nbd
c5a86e2fbb
template.awk fix processing of certain config file formats
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5249 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-20 12:56:42 +00:00
nbd
b73050fb3f
move /usr/lib/parse-config.awk to /lib/config/template.awk
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5244 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-20 00:13:34 +00:00
nbd
346b56b086
hacks for supporting the toshiba wrc-1000
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5192 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-17 17:07:35 +00:00
nbd
1c2ebc22c1
remove support for obsolete /etc/modules file
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5173 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-16 23:23:58 +00:00
nbd
5d33137a97
remove nvram.sh
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5153 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-16 04:32:21 +00:00
nbd
8864f5ea2f
fix typo
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5131 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-15 21:22:51 +00:00
nbd
5eca1169a0
init script cleanup, use /etc/rc.d/ for enabled scripts, /etc/init.d/<pkgname> (enable|disable) manages symlinks
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5128 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-15 21:03:30 +00:00
nbd
b4617a34ff
fix error message
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5119 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-15 16:24:13 +00:00
nbd
3153b44635
remove all broadcom interfaces from bridges and bring them down completely when wifi down is called
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5116 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-15 15:50:02 +00:00
nbd
95e7b381e9
add protection for bridging interface changes
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5115 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-15 15:44:39 +00:00
nbd
6aa6b0b1a0
remove the wifi interface from the default bridge
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5114 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-15 15:32:14 +00:00
nbd
b573d8ec23
implement simple device autodetection for wifi drivers
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5113 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-15 15:27:34 +00:00
nbd
564ea3531f
save the real configured interface name in the 'device' variable when running scan_interfaces() - fixes pppoe problems
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4983 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-09 12:35:31 +00:00
nbd
2f1f57762e
add new /bin/uci script and api for manipulating buildroot-ng config files
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4982 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-09 05:59:26 +00:00
nbd
6dfd012e68
fix shell escaping bug in append() function
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4981 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-09 04:29:27 +00:00
nbd
c9ab557bc5
add 1 second delay for natsemi ifup (sometimes won't come up otherwise)
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4980 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-09 04:01:36 +00:00
nbd
91ef5b68e2
fix a small bug in the parse-config script
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4969 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-08 19:16:04 +00:00
nbd
cf496205a8
minor cleanup
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4939 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-06 20:24:05 +00:00
nbd
d34d371ffc
hide enable/disable functions, not active yet
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4921 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-04 22:46:17 +00:00
nbd
e69054f277
fix displayed name in init script help text
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4916 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-04 20:09:14 +00:00
nbd
cf123d2a16
add new rc.common for standardized init scripts, convert existing init scripts
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4915 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-04 20:05:48 +00:00
nbd
3cf72ac0ab
move arch specific base-files install call to the end of the generic one - fixes wrong /etc/config/network
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4914 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-04 20:03:26 +00:00
nbd
b9f75a560d
don't recreate the resolv.conf file from the dhcp script if no dhcp server is supplied (reported by exobyte)
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4903 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-03 19:38:34 +00:00
nico
8afb23270d
new (last?) attempt at standardizing Makefiles
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4855 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-09-24 20:49:31 +00:00
nbd
139dfb16c8
use absolute paths in include() shell function
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4852 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-09-24 13:32:18 +00:00
mbm
03d9262412
bring up loopback by default
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4793 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-09-15 22:25:03 +00:00
mbm
203fe174cc
change more to less
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4774 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-09-07 17:40:28 +00:00
nbd
6c87a8b877
remove default network config for brcm
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4752 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-09-04 23:51:30 +00:00
nbd
cc845615ce
fix ipcalc (off by 1)
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4737 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-09-03 05:35:43 +00:00
nbd
fa7705c9b1
add default /etc/config/network
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4706 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-30 04:08:35 +00:00
mbm
9a0a2cab80
change hotplug trigger to a simpler awk command
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4685 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-27 11:22:56 +00:00
mbm
465de48141
fix minor typo & move loopback to network config
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4683 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-27 11:11:55 +00:00
nbd
f7d68e0a92
fix find_config() in the network scripts
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4682 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-27 10:05:58 +00:00
mbm
85b201f545
clean up hotplug mounting scripts
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4673 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-26 01:04:43 +00:00
nbd
00394c5771
revert to using *_ifnames internally, too many problems with firewall, ppp, etc. otherwise
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4653 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-24 13:46:47 +00:00
nbd
8aff78b009
default value for *_device in scan_interfaces
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4652 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-24 13:22:53 +00:00
nbd
4092003baf
fix remaining *_ifnames references
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4650 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-24 12:20:02 +00:00
nbd
a8a833f845
change 'ifnames' to 'ifname' in network config, fix #697
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4638 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-23 18:47:31 +00:00
nbd
15651c68cf
fix typo
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4608 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-19 14:45:14 +00:00