mirror of https://github.com/OpenIPC/firmware.git
[no ci] Overlay: list supported wireless devices
parent
a401de7ede
commit
a179b352f4
|
@ -45,6 +45,10 @@ set_fullname() {
|
||||||
show_fullname >/etc/hostname
|
show_fullname >/etc/hostname
|
||||||
}
|
}
|
||||||
|
|
||||||
|
show_wlan() {
|
||||||
|
grep -r '$1..=' /etc/wireless | cut -d '"' -f 4
|
||||||
|
}
|
||||||
|
|
||||||
# Source configuration files from /etc/profile.d
|
# Source configuration files from /etc/profile.d
|
||||||
for i in /etc/profile.d/*.sh; do
|
for i in /etc/profile.d/*.sh; do
|
||||||
[ -r "$i" ] && . $i
|
[ -r "$i" ] && . $i
|
||||||
|
|
Loading…
Reference in New Issue