|
@@ -7149,7 +7149,7 @@ function enable_wifi_hotspot {
|
7149
|
7149
|
fi
|
7150
|
7150
|
fi
|
7151
|
7151
|
|
7152
|
|
- if ! grep -q "Wifi hotspot" $COMPLETION_FILE; then
|
|
7152
|
+ if ! grep -q "Wifi hotspot" /etc/network/interfaces; then
|
7153
|
7153
|
echo '' >> /etc/network/interfaces
|
7154
|
7154
|
echo '# Wifi hotspot' >> /etc/network/interfaces
|
7155
|
7155
|
echo "auto $WIFI_INTERFACE" >> /etc/network/interfaces
|