Browse Source

Hide some boring warnings from systemctl about insserv etc

Alexandre Aubin 3 years ago
parent
commit
892fbf5693
1 changed files with 3 additions and 3 deletions
  1. 3 3
      scripts/install

+ 3 - 3
scripts/install

@@ -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