Developing lightweight computation at the DSG edge

Commit cea45cfb authored by Roger Pueyo Centelles's avatar Roger Pueyo Centelles
Browse files

Remove unneeded hooks for Xiaomi MiWiFi mini


Signed-off-by: default avatarRoger Pueyo Centelles <roger.pueyo@guifi.net>
parent 0ddac5b3
#!/bin/sh
# Stage = [birth|firstboot|anyboot|preconf|postconf]
STAGE="$1"
[ "$STAGE" == "birth" ] && {
echo "Configuring wifi for Xiaomi MiWiFi Mini"
uci add qmp wireless
uci set qmp.@wireless[0]=wireless
uci set qmp.@wireless[0].mode=adhoc
uci set qmp.@wireless[0].device=wlan0
uci add qmp wireless
uci set qmp.@wireless[1]=wireless
uci set qmp.@wireless[1].mode=80211s_aplan
uci set qmp.@wireless[1].device=wlan1
uci commit qmp
}
../scripts/xiaomi-miwifi-mini.sh
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment