summaryrefslogtreecommitdiffstats
path: root/package/base-files/files/sbin
Commit message (Collapse)AuthorAgeFilesLines
* mount_root: prepare base-filesblogic2013-04-253-68/+3
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36429 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: firstboot: only ask for confirmation on TTYjogo2013-03-271-4/+6
| | | | | | Also allow '-y' to force the reset. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36133 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: make firstboot ask for confirmationjogo2013-02-211-8/+16
| | | | | | | | To prevent accidential resets ask for confirmation (and default to n). Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35712 3c298f89-4303-0410-b956-a3cf2f4a3e73
* sysupgrade: clarify online helpjow2013-01-021-12/+15
| | | | | | | | Fixes #12346. Signed-off-by: Paul Fertser <fercerpav@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34975 3c298f89-4303-0410-b956-a3cf2f4a3e73
* sysupgrade: do not require an extra argument after --restore-backupjow2013-01-021-6/+7
| | | | | | | | | | | Neither --create-backup nor --restore-backup need an image name (following the backup filename). Treat them in uniform way. Mostly fixes #12346. Signed-off-by: Paul Fertser <fercerpav@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34974 3c298f89-4303-0410-b956-a3cf2f4a3e73
* merge /lib/functions/boot.sh and /lib/functions.shmirko2012-12-192-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34794 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Do not overload mount-call - trying to reduce confusionmirko2012-12-191-1/+1
| | | | | | | | | | | The behaviour of calling 'mount' differed depending on whether it called the busybox-mount, the mount of util-linux, the mount defined in /lib/functions.sh and /lib/functions/boot.sh /etc/preinit even included /lib/functions.sh and /lib/functions/boot.sh, both re-defining 'mount'. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34792 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: provide a sysupgrade -r (--restore-backup) option as ↵jow2012-08-121-0/+12
| | | | | | convenience wrapper for tar -C / -x(v)zf git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33147 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: fix option parsing of -F/--force parameterjow2012-08-091-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33075 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: allow wireless ifaces to be part of multiple networksjow2012-06-261-4/+9
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32503 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] /etc/functions.sh => /lib/functions.shjow2012-06-054-5/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32062 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: implement a --force option for sysupgrade to override ↵jow2012-01-081-2/+11
| | | | | | image checks, useful to upgrade old ar71xx installations to current trunk ones git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29688 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: add -b (--create-backup) option to sysupgrade, which ↵jow2011-12-201-2/+26
| | | | | | generates a backup .tar.gz according to the user settings. This will also be reused by LuCI. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29587 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: kill remaining processes after running user hooks (#10461)jow2011-11-191-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29256 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: properly handle wifi ifaces with no network attached, ↵jow2011-11-081-3/+5
| | | | | | useful for unmanaged interfaces like used for batman or monitoring git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28860 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: ensure that a bridge gets created before hostapd needs it, hostapd ↵nbd2011-11-041-0/+1
| | | | | | must not attempt to create the bridge by itself git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28745 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: sysupgrade: kill all but essential processes before ↵jow2011-10-271-0/+5
| | | | | | starting the update git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28626 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: move network related scripts to a separate package to make the ↵nbd2011-10-202-108/+0
| | | | | | transition to netifd easier git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28495 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: attempt bring up related wifi devices when calling ifupjow2011-07-222-16/+48
| | | | | | | | | | | | | | | | | | | | | If a 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. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27720 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: add -h and --help options to sysupgrade (#9728)jow2011-07-171-1/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27630 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: fix error reporting for unsupported protocols on ↵jow2011-06-071-2/+2
| | | | | | virtual interfaces git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27132 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] adds a --help option to /sbin/wififlorian2010-12-051-0/+9
| | | | | | Signed-off-by: Sebastian Philipp <sebastian@spawnhost.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24258 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files:jow2010-10-051-2/+3
| | | | | | | | | | | | - add sysupgrade support for keepfile hints * introduces /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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23258 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: sysupgrade: merge info from "opkg ↵jow2010-10-051-2/+3
| | | | | | list-changed-conffiles" to backup file list git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23233 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: add an experimental "-c" flag which tries to preserve ↵jow2010-09-071-2/+19
| | | | | | *all* changed files in /overlay/etc minus some system files git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22977 3c298f89-4303-0410-b956-a3cf2f4a3e73
* wifi: fix duplicate ht capabilities in the hostapd config file by clearing ↵nbd2010-07-081-4/+13
| | | | | | the list at config load time git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22099 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files:jow2010-05-301-0/+3
| | | | | | | | | | - use add_dns() and remove_dns() for when changing 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21638 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files, ppp: remove protocol specific cleanup code from ↵jow2010-05-051-22/+0
| | | | | | /sbin/ifdown and move it to protocol stop callbacks git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21383 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix jffs2 and mini_fo mount in failsafe (patch from #7134)nbd2010-04-131-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20838 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: Use hotplug2 to download firmwareacinonyx2010-04-031-12/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20683 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: Cancel firmware loading if file doesn't existacinonyx2010-04-011-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20649 3c298f89-4303-0410-b956-a3cf2f4a3e73
* change from /jffs to /overlay, patch from Daniel Dickinsonflorian2010-03-211-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20356 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firstboot: detect mtd, rom & jffs parts first, fix jffs mounted testnico2010-03-051-5/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19980 3c298f89-4303-0410-b956-a3cf2f4a3e73
* revert r19964 for now, there are issues with opkg/ipkg.py generating the ↵thepeople2010-03-041-3/+2
| | | | | | status db git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19970 3c298f89-4303-0410-b956-a3cf2f4a3e73
* grab all config files for installed packages, closes #3718thepeople2010-03-031-2/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19964 3c298f89-4303-0410-b956-a3cf2f4a3e73
* /sbin/wifi: improve reliability of restarts by resetting the state properlynbd2010-02-021-2/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19495 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add preinit modularization work by Daniel Dickinson (cshore)nbd2010-01-252-173/+46
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19331 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix a typo in the hwmode handling in /sbin/wifi (thx, maddes)nbd2010-01-241-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19313 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files, mac80211 (#6491)jow2010-01-131-0/+13
| | | | | | | | | - fix wep key handling in iw with mac80211 based drivers - sanitize keys where necessary - put a procedure prepare_key_wep() into /sbin/wifi for use by other driver backends git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19118 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix firmware loading broken by the busybox upgradenbd2009-12-081-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18705 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: sysupgrade: restrict find command to plain files to ↵jow2009-11-201-1/+2
| | | | | | avoid duplicates when generating the conffiles tgz archive git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18455 3c298f89-4303-0410-b956-a3cf2f4a3e73
* check for sysfs before bypassing normal hotplug calls for firmware events ↵nbd2009-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 mountsnbd2009-09-271-23/+60
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17778 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: move firstboot to /sbinnbd2009-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 ↵jow2009-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 listjow2009-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 restoringacinonyx2009-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 ↵acinonyx2009-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 ↵nico2009-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 onejow2009-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