Skip to content

Commit 96d4b44

Browse files
committed
/etc/network/interfaces is now delete instead of edited when switching to 'client' mode. This should fix a compatibilty problem with Raspbian Stretch
1 parent 6e1f584 commit 96d4b44

File tree

1 file changed

+2
-1
lines changed
  • Configuration App/app/models

1 file changed

+2
-1
lines changed

Configuration App/app/models/main.rb

+2-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,8 @@ def self.create_wpa_supplicant(user_ssid, encryption_type, user_wifi_key)
105105
def self.set_ap_client_mode
106106
raspiwifi_path = find_raspiwifi_path()
107107

108-
system ('sudo cp -r ' + raspiwifi_path + '/Reset\ Device/static_files/interfaces.apclient /etc/network/interfaces')
108+
#system ('sudo cp -r ' + raspiwifi_path + '/Reset\ Device/static_files/interfaces.apclient /etc/network/interfaces')
109+
system ('sudo rm /etc/network/interfaces')
109110
system ('sudo cp -r ' + raspiwifi_path + '/Reset\ Device/static_files/rc.local.apclient /etc/rc.local')
110111
system ('sudo cp -r ' + raspiwifi_path + '/Reset\ Device/static_files/isc-dhcp-server.apclient /etc/default/isc-dhcp-server')
111112
system ('sudo reboot')

0 commit comments

Comments
 (0)