2023-04-01 10:00:13 +08:00

10 lines
175 B
Bash

#!/bin/sh
if [ -f "/tmp/hot" ]; then
rm -f /etc/hotspot
while IFS='|' read -r ssid encrypt key flag
do
echo $ssid"|"$encrypt"|"$key >> /etc/hotspot
done <"/tmp/hot"
fi