|
@@ -187,9 +187,9 @@ echo "DAEMON_CONF=/etc/hostapd/hostapd.conf" > /etc/default/hostapd
|
|
|
# Set default inits
|
|
|
# The boot order of these services are important, so they are disabled by default
|
|
|
# and the ynh-hotspot service handles them.
|
|
|
-systemctl disable hostapd --quiet
|
|
|
-systemctl stop hostapd
|
|
|
-systemctl unmask hostapd # On some system e.g. RPi, for some reason hostapd is masked after install ...
|
|
|
+systemctl disable hostapd --quiet 2>&1
|
|
|
+systemctl stop hostapd 2>&1
|
|
|
+systemctl unmask hostapd 2>&1 # On some system e.g. RPi, for some reason hostapd is masked after install ...
|
|
|
|
|
|
#=================================================
|
|
|
# SETUP SYSTEMD
|