aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/sbin
Commit message (Collapse)AuthorAgeFilesLines
* check for sysfs before bypassing normal hotplug calls for firmware events ↵Felix Fietkau2009-10-031-1/+1
| | | | | | (fixes #5200) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17839 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firstboot: add support for union mountsFelix Fietkau2009-09-271-23/+60
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17778 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: move firstboot to /sbinFelix Fietkau2009-09-272-1/+126
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17775 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: dispatch ifdown events for proto=none interfaces and ↵Jo-Philipp Wich2009-09-141-2/+2
| | | | | | fix a race condition between revert state and hotplug handlers git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17582 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: add /etc/rc.local to the default save file listJo-Philipp Wich2009-09-121-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17572 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: Fix sysupgrade .tar.gz configuration restoringVasilis Tsiligiannis2009-06-291-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16626 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: Detect and decompressed gzipped images automatically ↵Vasilis Tsiligiannis2009-06-101-4/+1
| | | | | | when flashing with sysupgrade git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16407 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: initialize GZIPED to 0 in sysupgrade since it's used ↵Nicolas Thill2009-05-171-2/+2
| | | | | | later in numeric comparisons git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15890 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [sysupgrade] Don't try to pivot to new ramfs if already running on oneJo-Philipp Wich2009-05-071-2/+6
| | | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15683 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [PATCH] Add option in sysupgrade to flash gzipped imagesJo-Philipp Wich2009-05-071-1/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15672 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [wifi] In wifi_fixup_hwmode the value 11bg for hwmode was not transfered to bg.Hauke Mehrtens2009-04-091-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15180 3c298f89-4303-0410-b956-a3cf2f4a3e73
* wifi: fix hostapd + autochannelFelix Fietkau2009-03-271-0/+34
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15055 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package]Jo-Philipp Wich2009-03-251-1/+2
| | | | | | | | | - fix mac assignment for broadcom vifs in bridging mode - thanks abramoff1 for spotting this - fix possible regression with different interface protocols - bump PKG_RELEASE git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15042 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] sync macs with vif bssids in broadcom.sh, fixes multi-ssid with wpaJo-Philipp Wich2009-03-241-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15028 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Use block events for the mounting/unmounting of external storage devices.Jose Vasconcellos2009-01-301-25/+0
| | | | | | | | | | 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. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14289 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix ifup (no longer use the to-be-reverted state of the previous config)Felix Fietkau2008-11-281-3/+15
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13398 3c298f89-4303-0410-b956-a3cf2f4a3e73
* remove /tmp/resolv.conf.auto when ifup -a is called so that any old dns ↵Travis Kemen2008-10-291-0/+1
| | | | | | servers no longer in the config get cleared git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13082 3c298f89-4303-0410-b956-a3cf2f4a3e73
* use pidfiles for hostapd/wpa_supplicant instead of killing all processes ↵Felix Fietkau2008-10-291-0/+2
| | | | | | when bringing an interface down - fixes an issue with random hostapd death git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13078 3c298f89-4303-0410-b956-a3cf2f4a3e73
* make sure that the dhcp client (or other processes necessary to get a ↵Felix Fietkau2008-10-231-0/+1
| | | | | | connection) gets restarted when the wifi is restarted git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13026 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add option in sysupgrade to restore config from file or URL (patch from #4043)Felix Fietkau2008-09-281-1/+15
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12772 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix typo from last sysupgrade commitFelix Fietkau2008-09-261-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12715 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add switch to not save configuration over the reflash in noninteractive modeTravis Kemen2008-09-261-0/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12714 3c298f89-4303-0410-b956-a3cf2f4a3e73
* make option name optionalTravis Kemen2008-09-131-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12585 3c298f89-4303-0410-b956-a3cf2f4a3e73
* sysupgrade: add optional delay before rebootingFelix Fietkau2008-09-121-3/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12572 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Prevent unwanted shell expansionSteven Barth2008-09-111-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12568 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fixes script that mounts usd storage when it gets attachedJohn Crispin2008-09-081-14/+11
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12548 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fixes usb storage mountingJohn Crispin2008-09-011-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12465 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add /etc/firewall.user to be backed up becuase it is an example in ↵Travis Kemen2008-08-161-1/+1
| | | | | | /etc/config/firewall git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12326 3c298f89-4303-0410-b956-a3cf2f4a3e73
* remove /etc/firewall.* from being kept as they no longer are used in trunkTravis Kemen2008-08-161-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12320 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add basic interface alias support.Felix Fietkau2008-08-071-1/+5
| | | | | | | | | | | | | | 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12241 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add uci led supportJohn Crispin2008-08-041-0/+25
| | | | | | | | | - /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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12104 3c298f89-4303-0410-b956-a3cf2f4a3e73
* network scripts: revert the network state after running ifdown, not beforeFelix Fietkau2008-08-031-3/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12081 3c298f89-4303-0410-b956-a3cf2f4a3e73
* keep /etc/group over reflash as wellTravis Kemen2008-07-241-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11919 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add dropbear keys, passwd and firewall configuration to be saved during reflashTravis Kemen2008-07-241-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11912 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Here comes the new UCI. Enjoy :)Felix Fietkau2008-02-032-12/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10367 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [packages] base-files: suppress error messages in usb-storage scriptGabor Juhos2007-11-041-8/+8
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9498 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix a few issues with dynamically assigned interfacesFelix Fietkau2007-09-121-0/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8765 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add sysupgrade script for config preserving system upgrades. only ↵Felix Fietkau2007-08-211-0/+92
| | | | | | implemented for x86-2.6 at the moment, but can be ported to other platforms easily git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8456 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tab/whitespace fixFelix Fietkau2007-08-041-5/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8338 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix an error messageFelix Fietkau2007-07-221-0/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8109 3c298f89-4303-0410-b956-a3cf2f4a3e73
* keep track of the wifi interface state in /var/state/wirelessFelix Fietkau2007-07-221-0/+19
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8108 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add a workaround for the hostapd killed issue when using more than one wifi ↵Felix Fietkau2007-07-201-0/+1
| | | | | | card (#1928, #2040) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8077 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix usb-storage permissionsMike Baker2007-07-081-0/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7889 3c298f89-4303-0410-b956-a3cf2f4a3e73
* added usb-storage hotplugingJohn Crispin2007-06-201-0/+28
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7684 3c298f89-4303-0410-b956-a3cf2f4a3e73
* keep track of the network interface states (stored in uci format in ↵Felix Fietkau2007-06-161-0/+6
| | | | | | /var/state/network, overlay over /etc/config/network) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7643 3c298f89-4303-0410-b956-a3cf2f4a3e73
* more fixesFelix Fietkau2007-06-153-4/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7639 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mount_root should only mount the rootMike Baker2007-05-311-43/+12
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7418 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Fix set_state preinit stuffFlorian Fainelli2007-05-131-3/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7200 3c298f89-4303-0410-b956-a3cf2f4a3e73
* clean up the mtd unlockingMike Baker2007-05-131-12/+13
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7199 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tweaks for 2M devicesMike Baker2007-05-101-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7179 3c298f89-4303-0410-b956-a3cf2f4a3e73