4 bluetooth_block_logo
=""
6 wifi_soft
=$
(rfkill
-rn |
awk '/wlan/ {print $4}')
7 bluetooth_soft
=$
(rfkill
-rn |
awk '/bluetooth/ {print $4}')
9 if [[ "$wifi_soft" == "blocked" ]]; then
10 result_wifi
=$wifi_block_logo
13 if [[ "$bluetooth_soft" == "blocked" ]]; then
14 result_bluetooth
=$bluetooth_block_logo
17 echo $result_wifi $result_bluetooth