mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-06-18 05:15:28 +08:00

[mac80211] ca5ee6e mac80211: Fix potential endless loop 2c14710 mac80211: add more AQL fixes/improvements 91fb3ce mac80211: remove an obsolete patch that is no longer doing anything useful acf1733 mac80211: add preliminary support for enabling 802.11ax in config d717343 mac80211: update encap offload patches to the latest version 673062f mac80211: allow bigger A-MSDU sizes in VHT, even if HT is limited caf7277 mac80211: do not allow bigger VHT MPDUs than the hardware supports cd36c0d mac80211: select the first available channel for 5GHz interfaces 1c6d456 mac80211: fix regression in station connection monitor optimization 4bd7689 mac80211: update sta connection monitor regression fix [target] Sync: at91, ath25, ath79, lantiq, mediatek, mvebu.
31 lines
574 B
Bash
31 lines
574 B
Bash
#
|
|
# Copyright (C) 2010-2013 OpenWrt.org
|
|
#
|
|
|
|
rootpartuuid() {
|
|
local cmdline=$(cat /proc/cmdline)
|
|
local bootpart=${cmdline##*root=}
|
|
bootpart=${bootpart%% *}
|
|
local uuid=${bootpart#PARTUUID=}
|
|
echo ${uuid%-02}
|
|
}
|
|
|
|
bootdev_from_uuid() {
|
|
blkid | grep "PTUUID=\"$(rootpartuuid)\"" | cut -d : -f1
|
|
}
|
|
|
|
bootpart_from_uuid() {
|
|
blkid | grep $(rootpartuuid)-01 | cut -d : -f1
|
|
}
|
|
|
|
rootpart_from_uuid() {
|
|
blkid | grep $(rootpartuuid)-02 | cut -d : -f1
|
|
}
|
|
|
|
apalis_mount_boot() {
|
|
mkdir -p /boot
|
|
[ -f /boot/uImage ] || {
|
|
mount -o rw,noatime $(bootpart_from_uuid) /boot > /dev/null
|
|
}
|
|
}
|