Commit Graph

93 Commits (0321740a622fe79cdf958985188cc81476bef192)

Author SHA1 Message Date
Felix Fietkau c05eb4ba63 add basic interface alias support. for now (since we don't use ip in our network scripts yet), it adds :1, :2, ... alias interfaces this will change when we add support for the ip utility, but the config format will remain the same. example:
config alias     test
option interface lan
option ipaddr    192.168.1.1
option netmask   255.255.0.0

SVN-Revision: 12241
2008-08-07 15:28:48 +00:00
John Crispin 72396bd614 add uci led support - /etc/config/system can hold led info which is applied at boot - adds /sbin/led.sh to set/clear leds via a name defined in /etc/config/system
SVN-Revision: 12104
2008-08-04 22:56:46 +00:00
Felix Fietkau 8ff90e326e network scripts: revert the network state after running ifdown, not before
SVN-Revision: 12081
2008-08-03 21:00:01 +00:00
Travis Kemen 0425daa86d keep /etc/group over reflash as well
SVN-Revision: 11919
2008-07-24 16:36:39 +00:00
Travis Kemen f20dd0803c add dropbear keys, passwd and firewall configuration to be saved during reflash
SVN-Revision: 11912
2008-07-24 02:24:59 +00:00
Felix Fietkau 0cf1a58282 Here comes the new UCI. Enjoy :)
SVN-Revision: 10367
2008-02-03 06:48:15 +00:00
Gabor Juhos 5fb714cca9 base-files: suppress error messages in usb-storage script
SVN-Revision: 9498
2007-11-04 15:12:08 +00:00
Felix Fietkau f7ff1d6d0f fix a few issues with dynamically assigned interfaces
SVN-Revision: 8765
2007-09-12 17:02:34 +00:00
Felix Fietkau 1e38527a52 add sysupgrade script for config preserving system upgrades. only implemented for x86-2.6 at the moment, but can be ported to other platforms easily
SVN-Revision: 8456
2007-08-21 18:23:57 +00:00
Felix Fietkau b085680b96 tab/whitespace fix
SVN-Revision: 8338
2007-08-04 11:30:40 +00:00
Felix Fietkau 600d29f61e fix an error message
SVN-Revision: 8109
2007-07-22 18:46:57 +00:00
Felix Fietkau b13426e21b keep track of the wifi interface state in /var/state/wireless
SVN-Revision: 8108
2007-07-22 18:32:47 +00:00
Felix Fietkau e58d9626f2 add a workaround for the hostapd killed issue when using more than one wifi card (#1928, #2040)
SVN-Revision: 8077
2007-07-20 16:11:46 +00:00
Mike Baker bab458186d fix usb-storage permissions
SVN-Revision: 7889
2007-07-08 13:23:17 +00:00
John Crispin 2fe37ccdf6 added usb-storage hotpluging
SVN-Revision: 7684
2007-06-20 22:05:15 +00:00
Felix Fietkau 4f16e9cc3e keep track of the network interface states (stored in uci format in /var/state/network, overlay over /etc/config/network)
SVN-Revision: 7643
2007-06-16 00:01:33 +00:00
Felix Fietkau 90d54c0faa more fixes
SVN-Revision: 7639
2007-06-15 16:07:09 +00:00
Mike Baker 40071deb7a mount_root should only mount the root
SVN-Revision: 7418
2007-05-31 12:09:08 +00:00
Florian Fainelli 5cbadc89e7 Fix set_state preinit stuff
SVN-Revision: 7200
2007-05-13 10:17:57 +00:00
Mike Baker e4c6078c67 clean up the mtd unlocking
SVN-Revision: 7199
2007-05-13 09:39:21 +00:00
Mike Baker 4bc5cb30d3 tweaks for 2M devices
SVN-Revision: 7179
2007-05-10 19:41:07 +00:00
Mike Baker 5fa3d90c46 fix bug in mount script
SVN-Revision: 7177
2007-05-10 16:54:52 +00:00
Mike Baker 3fda1fbf87 cleanup the broadcom preinit.arch
SVN-Revision: 7176
2007-05-10 16:29:15 +00:00
Mike Baker 4a41439c46 unified preinit environment
SVN-Revision: 7173
2007-05-10 14:37:47 +00:00
Felix Fietkau ca7a815602 use hotplug2 for serializing hotplug events on 2.6
SVN-Revision: 7097
2007-05-05 18:33:18 +00:00
Felix Fietkau 5f4b17b53f fix ifdown hotplug event (#1576)
SVN-Revision: 6950
2007-04-15 07:23:28 +00:00
Felix Fietkau 6d47d3ae11 fix bogus "interface not found" errors in ifup -a (#1580)
SVN-Revision: 6949
2007-04-15 07:22:11 +00:00
Florian Fainelli 2266aad2ec Limit the number of hotplug childrens
SVN-Revision: 6804
2007-04-01 18:30:32 +00:00
Felix Fietkau 7326a8beb5 /sbin/hotplug-call: export the hotplug event type through the environment for hotplug scripts
SVN-Revision: 6768
2007-03-31 00:59:49 +00:00
Felix Fietkau 2954f04b41 small cleanup
SVN-Revision: 6663
2007-03-24 13:42:53 +00:00
Mike Baker a738f566e6 add a new 'option disabled' to wifi-device
SVN-Revision: 6576
2007-03-16 13:56:36 +00:00
Felix Fietkau 4af390ee76 add vga console support for x86-2.6 images (fixes #1342, #840)
SVN-Revision: 6530
2007-03-06 19:13:40 +00:00
Felix Fietkau a44c286fdb nuke mdev and replace it with hotplug2 :)
SVN-Revision: 6512
2007-03-04 20:31:53 +00:00
Felix Fietkau eb83bc789a only mount sysfs once (thx, ejka)
SVN-Revision: 6504
2007-03-04 14:27:52 +00:00
Felix Fietkau c96e173c28 add failsafe support for x86-2.6 and fix mdev support for platforms using /etc/preinit
SVN-Revision: 6481
2007-03-03 22:32:13 +00:00
Felix Fietkau df228a5d99 don't run mdev on hotplug pseudo-events that come from user space
SVN-Revision: 6480
2007-03-03 20:59:49 +00:00
Imre Kaloz 662fde9077 R.I.P. devfs
SVN-Revision: 6478
2007-03-03 20:35:01 +00:00
Felix Fietkau 84bec9f9cf add support for if{down,up} -a and implement proper start/stop/restart for /etc/init.d/network
SVN-Revision: 6455
2007-03-02 13:21:33 +00:00
Felix Fietkau 68ca8e7818 make squashfs overlay support more generic and integrate it for x86-2.6
SVN-Revision: 6450
2007-03-02 01:23:36 +00:00
Felix Fietkau 4215478ffe move config_get_bool from /sbin/wifi to /etc/functions.sh
SVN-Revision: 6407
2007-02-27 23:09:57 +00:00
Felix Fietkau 271a77fa90 fix typos in ifdown (patch from #1319)
SVN-Revision: 6272
2007-02-06 01:02:30 +00:00
Felix Fietkau 20e82c48ef fix typo in /sbin/wifi (#1016 - thanks, dairiki)
SVN-Revision: 5689
2006-12-04 23:11:47 +00:00
Felix Fietkau 59a06c71cb rename default/ to files/
SVN-Revision: 5622
2006-11-22 23:30:57 +00:00