Parcourir la source

Hide some boring warnings from systemctl about insserv etc

Alexandre Aubin il y a 3 ans
Parent
commit
892fbf5693
1 fichiers modifiés avec 3 ajouts et 3 suppressions
  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