106 Commits (88e4d938020d277447acacb93beac92567531ec9)

Author SHA1 Message Date
Jo-Philipp Wich 70aaa116eb base-files: provide a sysupgrade -r (--restore-backup) option as convenience wrapper for tar -C / -x(v)zf 12 years ago
Jo-Philipp Wich 17dc1d5c44 base-files: fix option parsing of -F/--force parameter 12 years ago
Jo-Philipp Wich f2dde4f5ba base-files: allow wireless ifaces to be part of multiple networks 12 years ago
Jo-Philipp Wich 9ae901445b /etc/functions.sh => /lib/functions.sh 12 years ago
Jo-Philipp Wich 4e88bcfb00 base-files: implement a --force option for sysupgrade to override image checks, useful to upgrade old ar71xx installations to current trunk ones 13 years ago
Jo-Philipp Wich 1c6821b42e base-files: add -b (--create-backup) option to sysupgrade, which generates a backup .tar.gz according to the user settings. This will also be reused by LuCI. 13 years ago
Jo-Philipp Wich d46e17548b base-files: kill remaining processes after running user hooks (#10461) 13 years ago
Jo-Philipp Wich a73fffe857 base-files: properly handle wifi ifaces with no network attached, useful for unmanaged interfaces like used for batman or monitoring 13 years ago
Felix Fietkau dab5ebaa76 netifd: ensure that a bridge gets created before hostapd needs it, hostapd must not attempt to create the bridge by itself 13 years ago
Jo-Philipp Wich 52e93e54bc base-files: sysupgrade: kill all but essential processes before starting the update 13 years ago
Felix Fietkau c2b5767572 base-files: move network related scripts to a separate package to make the transition to netifd easier 13 years ago
Jo-Philipp Wich 365f76551a base-files: attempt bring up related wifi devices when calling ifup 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). 13 years ago
Jo-Philipp Wich 1e34c02e3e base-files: add -h and --help options to sysupgrade (#9728) 13 years ago
Jo-Philipp Wich 97ee10d691 base-files: fix error reporting for unsupported protocols on virtual interfaces 13 years ago
Florian Fainelli ebe7bdba88 adds a --help option to /sbin/wifi 14 years ago
Jo-Philipp Wich d80f82d7a4 base-files: - 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 14 years ago
Jo-Philipp Wich 978ecae685 base-files: sysupgrade: merge info from "opkg list-changed-conffiles" to backup file list 14 years ago
Jo-Philipp Wich 91118a9500 base-files: add an experimental "-c" flag which tries to preserve *all* changed files in /overlay/etc minus some system files 14 years ago
Felix Fietkau 3e75044a95 wifi: fix duplicate ht capabilities in the hostapd config file by clearing the list at config load time 14 years ago
Jo-Philipp Wich 261d41a906 base-files: - 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 15 years ago
Jo-Philipp Wich 66ab73d01f base-files, ppp: remove protocol specific cleanup code from /sbin/ifdown and move it to protocol stop callbacks 15 years ago
Felix Fietkau c82bcb2a29 fix jffs2 and mini_fo mount in failsafe (patch from #7134) 15 years ago
Vasilis Tsiligiannis a1e4c66c16 base-files: Use hotplug2 to download firmware 15 years ago
Vasilis Tsiligiannis 043b77a460 base-files: Cancel firmware loading if file doesn't exist 15 years ago
Florian Fainelli 7af8ee0481 change from /jffs to /overlay, patch from Daniel Dickinson 15 years ago
Nicolas Thill 71886caf3f firstboot: detect mtd, rom & jffs parts first, fix jffs mounted test 15 years ago
Travis Kemen 32f6e6c44d revert r19964 for now, there are issues with opkg/ipkg.py generating the status db 15 years ago
Travis Kemen 249d48a68e grab all config files for installed packages, closes #3718 15 years ago
Felix Fietkau 19555b702e /sbin/wifi: improve reliability of restarts by resetting the state properly 15 years ago
Felix Fietkau 56bc02a305 add preinit modularization work by Daniel Dickinson (cshore) 15 years ago
Felix Fietkau 62d7bb6ecd fix a typo in the hwmode handling in /sbin/wifi (thx, maddes) 15 years ago
Jo-Philipp Wich cb30b52ec1 base-files, mac80211 (#6491) - 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 15 years ago
Felix Fietkau 4ab57b9e0f fix firmware loading broken by the busybox upgrade 15 years ago
Jo-Philipp Wich 4d9b1d6c75 base-files: sysupgrade: restrict find command to plain files to avoid duplicates when generating the conffiles tgz archive 15 years ago
Felix Fietkau 8183d10d17 check for sysfs before bypassing normal hotplug calls for firmware events (fixes #5200) 15 years ago
Felix Fietkau 2da13936e9 firstboot: add support for union mounts 15 years ago
Felix Fietkau 0f9f23aebe base-files: move firstboot to /sbin 15 years ago
Jo-Philipp Wich bc37b2e831 base-files: dispatch ifdown events for proto=none interfaces and fix a race condition between revert state and hotplug handlers 15 years ago
Jo-Philipp Wich 8962270fec base-files: add /etc/rc.local to the default save file list 15 years ago
Vasilis Tsiligiannis baa9053e7a base-files: Fix sysupgrade .tar.gz configuration restoring 15 years ago
Vasilis Tsiligiannis 57d7cc7666 base-files: Detect and decompressed gzipped images automatically when flashing with sysupgrade 15 years ago
Nicolas Thill 06413b783e base-files: initialize GZIPED to 0 in sysupgrade since it's used later in numeric comparisons 16 years ago
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. 16 years ago
Jo-Philipp Wich 71e0f59b80 Add option in sysupgrade to flash gzipped images 16 years ago
Hauke Mehrtens 90fc200a60 In wifi_fixup_hwmode the value 11bg for hwmode was not transfered to bg. 16 years ago
Felix Fietkau ca749bea97 wifi: fix hostapd + autochannel 16 years ago
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 16 years ago
Jo-Philipp Wich 7e6c947e4b sync macs with vif bssids in broadcom.sh, fixes multi-ssid with wpa 16 years ago
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. 16 years ago
Felix Fietkau 7ac69660fe fix ifup (no longer use the to-be-reverted state of the previous config) 16 years ago