Commit Graph

72 Commits (28d3db089d0072f4c3ac292d16ef76a690cd81e9)

Author SHA1 Message Date
Felix Fietkau 8183d10d17 check for sysfs before bypassing normal hotplug calls for firmware events (fixes #5200)
SVN-Revision: 17839
2009-10-03 11:28:02 +00:00
Felix Fietkau 2da13936e9 firstboot: add support for union mounts
SVN-Revision: 17778
2009-09-27 22:56:21 +00:00
Felix Fietkau 0f9f23aebe base-files: move firstboot to /sbin
SVN-Revision: 17775
2009-09-27 22:56:11 +00:00
Jo-Philipp Wich bc37b2e831 base-files: dispatch ifdown events for proto=none interfaces and fix a race condition between revert state and hotplug handlers
SVN-Revision: 17582
2009-09-14 16:14:27 +00:00
Jo-Philipp Wich 8962270fec base-files: add /etc/rc.local to the default save file list
SVN-Revision: 17572
2009-09-12 15:57:31 +00:00
Vasilis Tsiligiannis baa9053e7a base-files: Fix sysupgrade .tar.gz configuration restoring
SVN-Revision: 16626
2009-06-29 21:13:05 +00:00
Vasilis Tsiligiannis 57d7cc7666 base-files: Detect and decompressed gzipped images automatically when flashing with sysupgrade
SVN-Revision: 16407
2009-06-10 22:22:48 +00:00
Nicolas Thill 06413b783e base-files: initialize GZIPED to 0 in sysupgrade since it's used later in numeric comparisons
SVN-Revision: 15890
2009-05-17 11:54:44 +00:00
Jo-Philipp Wich 7da25b844c Don't try to pivot to new ramfs if already running on one This patch allows the sysupgrade script to continue with the upgrade if openwrt is already running on a ramfs. This allows the use of the sysupgrade script as an _installer_ when running from an iso image. A user could boot the system from a bootable cd and invoke sysupgrade -n <URL> to write an image to the hard disk or CF.
Signed-off-by: Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr>

SVN-Revision: 15683
2009-05-07 13:51:45 +00:00
Jo-Philipp Wich 71e0f59b80 Add option in sysupgrade to flash gzipped images
SVN-Revision: 15672
2009-05-07 13:27:10 +00:00
Hauke Mehrtens 90fc200a60 In wifi_fixup_hwmode the value 11bg for hwmode was not transfered to bg.
SVN-Revision: 15180
2009-04-09 20:16:01 +00:00
Felix Fietkau ca749bea97 wifi: fix hostapd + autochannel
SVN-Revision: 15055
2009-03-27 21:14:59 +00:00
Jo-Philipp Wich 9a72419724 - fix mac assignment for broadcom vifs in bridging mode - thanks abramoff1 for spotting this - fix possible regression with different interface protocols - bump PKG_RELEASE
SVN-Revision: 15042
2009-03-25 19:13:15 +00:00
Jo-Philipp Wich 7e6c947e4b sync macs with vif bssids in broadcom.sh, fixes multi-ssid with wpa
SVN-Revision: 15028
2009-03-24 23:42:09 +00:00
Jose Vasconcellos 58b8cdb5fd Use block events for the mounting/unmounting of external storage devices. This handles both USB and IEEE1394 devices. It removes /sbin/usb-storage in favor of using the block hotplug event. There are dummy scripts to handle the plug in/out of USB and IEEE1394 devices for updating LEDs. Storage devices are mount as a sub-directory under /mnt.
SVN-Revision: 14289
2009-01-30 20:48:42 +00:00
Felix Fietkau 7ac69660fe fix ifup (no longer use the to-be-reverted state of the previous config)
SVN-Revision: 13398
2008-11-28 16:13:23 +00:00
Travis Kemen 6103f88358 remove /tmp/resolv.conf.auto when ifup -a is called so that any old dns servers no longer in the config get cleared
SVN-Revision: 13082
2008-10-29 20:31:14 +00:00
Felix Fietkau a4f11ca22e use pidfiles for hostapd/wpa_supplicant instead of killing all processes when bringing an interface down - fixes an issue with random hostapd death
SVN-Revision: 13078
2008-10-29 17:26:49 +00:00
Felix Fietkau c0e753bcdc make sure that the dhcp client (or other processes necessary to get a connection) gets restarted when the wifi is restarted
SVN-Revision: 13026
2008-10-23 01:07:35 +00:00
Felix Fietkau 2b2884293a add option in sysupgrade to restore config from file or URL (patch from #4043)
SVN-Revision: 12772
2008-09-28 19:45:59 +00:00
Felix Fietkau e2daafdb1d fix typo from last sysupgrade commit
SVN-Revision: 12715
2008-09-26 08:58:43 +00:00
Travis Kemen 3770c99cf8 add switch to not save configuration over the reflash in noninteractive mode
SVN-Revision: 12714
2008-09-26 00:10:01 +00:00
Travis Kemen 91d3e6b05b make option name optional
SVN-Revision: 12585
2008-09-13 00:08:39 +00:00
Felix Fietkau 22585e578b sysupgrade: add optional delay before rebooting
SVN-Revision: 12572
2008-09-12 19:51:30 +00:00
Steven Barth 5a4e88710b Prevent unwanted shell expansion
SVN-Revision: 12568
2008-09-11 12:23:20 +00:00
John Crispin 6eefb5071d fixes script that mounts usd storage when it gets attached
SVN-Revision: 12548
2008-09-08 09:30:57 +00:00
John Crispin 38516cd780 fixes usb storage mounting
SVN-Revision: 12465
2008-09-01 17:42:35 +00:00
Travis Kemen b3b5e54099 add /etc/firewall.user to be backed up becuase it is an example in /etc/config/firewall
SVN-Revision: 12326
2008-08-16 18:01:18 +00:00
Travis Kemen 0b2111d1fb remove /etc/firewall.* from being kept as they no longer are used in trunk
SVN-Revision: 12320
2008-08-16 16:04:51 +00:00
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