mirror of
https://github.com/nextcloud/nextcloudpi.git
synced 2026-01-10 15:12:01 -03:30
fix issue #6 First booting with a connected ethernet cable makes wicd daemon start with an empty wireless interface
This commit is contained in:
parent
1483c724ef
commit
cb7c5cab75
@ -26,6 +26,16 @@ install()
|
||||
|
||||
configure()
|
||||
{
|
||||
# Installation in QEMU (without a wireless interface) produces
|
||||
# wicd installation to generate 'wireless_interface = None'.
|
||||
# It does not hurt to restart it to wlan0 for RPi3 & zero w
|
||||
sed -i 's|^wireless_interface = None|wireless_interface = wlan0|' /etc/wicd/manager-settings.conf
|
||||
|
||||
# First booting with a connected ethernet cable produces
|
||||
# wicd daemon to generate 'wireless_interface = '. (issue #6)
|
||||
# It does not hurt to restart it to wlan0 for RPi3 & zero w
|
||||
sed -i 's|^wireless_interface = $|wireless_interface = wlan0|' /etc/wicd/manager-settings.conf
|
||||
|
||||
systemctl stop dhcpcd
|
||||
systemctl disable dhcpcd
|
||||
systemctl enable wicd
|
||||
@ -42,11 +52,6 @@ configure()
|
||||
6) C to connect" \
|
||||
20 90
|
||||
|
||||
# Installation in QEMU (without a wireless interface) produces
|
||||
# wicd installation to generate 'wireless_interface = None'.
|
||||
# It does not hurt to restart it to wlan0 for RPi3 & zero w
|
||||
sed -i 's|^wireless_interface = None|wireless_interface = wlan0|' /etc/wicd/manager-settings.conf
|
||||
|
||||
wicd-curses
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user