mirror of
https://github.com/YunoHost-Apps/hotspot_ynh.git
synced 2024-09-03 19:25:53 +02:00
Hide some boring warnings from systemctl about insserv etc
This commit is contained in:
parent
de9f418e98
commit
892fbf5693
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue