From 892fbf5693a5f5dc8add9f4f4e7468265934a047 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Sun, 17 Oct 2021 21:36:39 +0200 Subject: [PATCH] Hide some boring warnings from systemctl about insserv etc --- scripts/install | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index da45edf..f183f2d 100644 --- a/scripts/install +++ b/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