summaryrefslogtreecommitdiff
path: root/package/base-files/files/sbin
Commit message (Collapse)AuthorAgeFilesLines
* base-files: provide a sysupgrade -r (--restore-backup) option as convenience ↵Jo-Philipp Wich2012-08-121-0/+12
| | | | | | wrapper for tar -C / -x(v)zf SVN-Revision: 33147
* base-files: fix option parsing of -F/--force parameterJo-Philipp Wich2012-08-091-1/+1
| | | | SVN-Revision: 33075
* base-files: allow wireless ifaces to be part of multiple networksJo-Philipp Wich2012-06-261-4/+9
| | | | SVN-Revision: 32503
* /etc/functions.sh => /lib/functions.shJo-Philipp Wich2012-06-054-5/+5
| | | | SVN-Revision: 32062
* base-files: implement a --force option for sysupgrade to override image ↵Jo-Philipp Wich2012-01-081-2/+11
| | | | | | checks, useful to upgrade old ar71xx installations to current trunk ones SVN-Revision: 29688
* base-files: add -b (--create-backup) option to sysupgrade, which generates a ↵Jo-Philipp Wich2011-12-201-2/+26
| | | | | | backup .tar.gz according to the user settings. This will also be reused by LuCI. SVN-Revision: 29587
* base-files: kill remaining processes after running user hooks (#10461)Jo-Philipp Wich2011-11-191-2/+2
| | | | SVN-Revision: 29256
* base-files: properly handle wifi ifaces with no network attached, useful for ↵Jo-Philipp Wich2011-11-081-3/+5
| | | | | | unmanaged interfaces like used for batman or monitoring SVN-Revision: 28860
* netifd: ensure that a bridge gets created before hostapd needs it, hostapd ↵Felix Fietkau2011-11-041-0/+1
| | | | | | must not attempt to create the bridge by itself SVN-Revision: 28745
* base-files: sysupgrade: kill all but essential processes before starting the ↵Jo-Philipp Wich2011-10-271-0/+5
| | | | | | update SVN-Revision: 28626
* base-files: move network related scripts to a separate package to make the ↵Felix Fietkau2011-10-202-108/+0
| | | | | | transition to netifd easier SVN-Revision: 28495
* base-files: attempt bring up related wifi devices when calling ifup If a ↵Jo-Philipp Wich2011-07-222-16/+48
| | | | | | | | | | | | | | | user invoked /sbin/ifup to bring up an interface, the setup used to fail in case of wireless networks tied to a non-bridged interface definition. Likewise, the bringup of "lan" in the default configuration will reinitialize the bridge but do not re-join the wireless network to it, requiring an extra call to /sbin/wifi (which might not be possible anymore due to a severed link if connected wirelessly). The changeset modifies the "ifup" command to search for related wireless devices and call "wifi up" on them if applicable. This way the commands for wireless and non-wireless interfaces are unified from a cli point of view. The "ifup -a" case has not been changed to keep the logic of the /etc/init.d/network boot sequence. This might be changed later. Solves #9763. SVN-Revision: 27720
* base-files: add -h and --help options to sysupgrade (#9728)Jo-Philipp Wich2011-07-171-1/+4
| | | | SVN-Revision: 27630
* base-files: fix error reporting for unsupported protocols on virtual interfacesJo-Philipp Wich2011-06-071-2/+2
| | | | SVN-Revision: 27132
* adds a --help option to /sbin/wifiFlorian Fainelli2010-12-051-0/+9
| | | | | | Signed-off-by: Sebastian Philipp <sebastian@spawnhost.de> SVN-Revision: 24258
* base-files: - add sysupgrade support for keepfile hints * introduces ↵Jo-Philipp Wich2010-10-051-2/+3
| | | | | | /lib/upgrade/keep.d/ for per-package keepfile lists * introduces /etc/sysupgrade.conf for user defined keepfile hints - prime /lib/upgrade/keep.d/base-files-essential to keep sysupgrade usable for images without opkg - change sysupgrade to build the keepfile list from /lib/upgrade/keep.d/, /etc/sysupgrade.conf and opkg list-changed-conffiles SVN-Revision: 23258
* base-files: sysupgrade: merge info from "opkg list-changed-conffiles" to ↵Jo-Philipp Wich2010-10-051-2/+3
| | | | | | backup file list SVN-Revision: 23233
* base-files: add an experimental "-c" flag which tries to preserve *all* ↵Jo-Philipp Wich2010-09-071-2/+19
| | | | | | changed files in /overlay/etc minus some system files SVN-Revision: 22977
* wifi: fix duplicate ht capabilities in the hostapd config file by clearing ↵Felix Fietkau2010-07-081-4/+13
| | | | | | the list at config load time SVN-Revision: 22099
* base-files: - use add_dns() and remove_dns() for when changing ↵Jo-Philipp Wich2010-05-301-0/+3
| | | | | | resolv.conf.auto for static or dhcp interfaces - force 0644 permissions when creating resolv.conf.auto, fixes dnsmasq permissions denied problem with pppd interfaces - revert dns servers in /sbin/ifdown - bump package revision SVN-Revision: 21638
* base-files, ppp: remove protocol specific cleanup code from /sbin/ifdown and ↵Jo-Philipp Wich2010-05-051-22/+0
| | | | | | move it to protocol stop callbacks SVN-Revision: 21383
* fix jffs2 and mini_fo mount in failsafe (patch from #7134)Felix Fietkau2010-04-131-1/+1
| | | | SVN-Revision: 20838
* base-files: Use hotplug2 to download firmwareVasilis Tsiligiannis2010-04-031-12/+1
| | | | SVN-Revision: 20683
* base-files: Cancel firmware loading if file doesn't existVasilis Tsiligiannis2010-04-011-1/+1
| | | | SVN-Revision: 20649
* change from /jffs to /overlay, patch from Daniel DickinsonFlorian Fainelli2010-03-211-2/+2
| | | | SVN-Revision: 20356
* firstboot: detect mtd, rom & jffs parts first, fix jffs mounted testNicolas Thill2010-03-051-5/+5
| | | | SVN-Revision: 19980
* revert r19964 for now, there are issues with opkg/ipkg.py generating the ↵Travis Kemen2010-03-041-3/+2
| | | | | | status db SVN-Revision: 19970
* grab all config files for installed packages, closes #3718Travis Kemen2010-03-031-2/+3
| | | | SVN-Revision: 19964
* /sbin/wifi: improve reliability of restarts by resetting the state properlyFelix Fietkau2010-02-021-2/+7
| | | | SVN-Revision: 19495
* add preinit modularization work by Daniel Dickinson (cshore)Felix Fietkau2010-01-252-173/+46
| | | | SVN-Revision: 19331
* fix a typo in the hwmode handling in /sbin/wifi (thx, maddes)Felix Fietkau2010-01-241-1/+1
| | | | SVN-Revision: 19313
* base-files, mac80211 (#6491) - fix wep key handling in iw with mac80211 ↵Jo-Philipp Wich2010-01-131-0/+13
| | | | | | based drivers - sanitize keys where necessary - put a procedure prepare_key_wep() into /sbin/wifi for use by other driver backends SVN-Revision: 19118
* fix firmware loading broken by the busybox upgradeFelix Fietkau2009-12-081-1/+1
| | | | SVN-Revision: 18705
* base-files: sysupgrade: restrict find command to plain files to avoid ↵Jo-Philipp Wich2009-11-201-1/+2
| | | | | | duplicates when generating the conffiles tgz archive SVN-Revision: 18455
* check for sysfs before bypassing normal hotplug calls for firmware events ↵Felix Fietkau2009-10-031-1/+1
| | | | | | (fixes #5200) SVN-Revision: 17839
* firstboot: add support for union mountsFelix Fietkau2009-09-271-23/+60
| | | | SVN-Revision: 17778
* base-files: move firstboot to /sbinFelix Fietkau2009-09-272-1/+126
| | | | SVN-Revision: 17775
* base-files: dispatch ifdown events for proto=none interfaces and fix a race ↵Jo-Philipp Wich2009-09-141-2/+2
| | | | | | condition between revert state and hotplug handlers SVN-Revision: 17582
* base-files: add /etc/rc.local to the default save file listJo-Philipp Wich2009-09-121-1/+1
| | | | SVN-Revision: 17572
* base-files: Fix sysupgrade .tar.gz configuration restoringVasilis Tsiligiannis2009-06-291-1/+1
| | | | SVN-Revision: 16626
* base-files: Detect and decompressed gzipped images automatically when ↵Vasilis Tsiligiannis2009-06-101-4/+1
| | | | | | flashing with sysupgrade SVN-Revision: 16407
* base-files: initialize GZIPED to 0 in sysupgrade since it's used later in ↵Nicolas Thill2009-05-171-2/+2
| | | | | | numeric comparisons SVN-Revision: 15890
* Don't try to pivot to new ramfs if already running on one This patch allows ↵Jo-Philipp Wich2009-05-071-2/+6
| | | | | | | | 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
* Add option in sysupgrade to flash gzipped imagesJo-Philipp Wich2009-05-071-1/+3
| | | | SVN-Revision: 15672
* In wifi_fixup_hwmode the value 11bg for hwmode was not transfered to bg.Hauke Mehrtens2009-04-091-0/+1
| | | | SVN-Revision: 15180
* wifi: fix hostapd + autochannelFelix Fietkau2009-03-271-0/+34
| | | | SVN-Revision: 15055
* - fix mac assignment for broadcom vifs in bridging mode - thanks abramoff1 ↵Jo-Philipp Wich2009-03-251-1/+2
| | | | | | for spotting this - fix possible regression with different interface protocols - bump PKG_RELEASE SVN-Revision: 15042
* sync macs with vif bssids in broadcom.sh, fixes multi-ssid with wpaJo-Philipp Wich2009-03-241-1/+1
| | | | SVN-Revision: 15028
* 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. SVN-Revision: 14289
* fix ifup (no longer use the to-be-reverted state of the previous config)Felix Fietkau2008-11-281-3/+15
| | | | SVN-Revision: 13398