Browse Source

Hide output of apparmor disable.

Raphael Schneeberger 7 years ago
parent
commit
b895abdbac
2 changed files with 4 additions and 4 deletions
  1. 2 2
      install/hst-install-debian.sh
  2. 2 2
      install/hst-install-ubuntu.sh

+ 2 - 2
install/hst-install-debian.sh

@@ -759,8 +759,8 @@ fi
 
 
 if grep --quiet lxc /proc/1/environ; then
 if grep --quiet lxc /proc/1/environ; then
     if [ -f /etc/init.d/apparmor ]; then
     if [ -f /etc/init.d/apparmor ]; then
-        systemctl stop apparmor
-        systemctl disable apparmor
+        systemctl stop apparmor > /dev/null 2>&1
+        systemctl disable apparmor > /dev/null 2>&1
     fi
     fi
 fi
 fi
 
 

+ 2 - 2
install/hst-install-ubuntu.sh

@@ -726,8 +726,8 @@ fi
 
 
 if grep --quiet lxc /proc/1/environ; then
 if grep --quiet lxc /proc/1/environ; then
     if [ -f /etc/init.d/apparmor ]; then
     if [ -f /etc/init.d/apparmor ]; then
-        systemctl stop apparmor
-        systemctl disable apparmor
+        systemctl stop apparmor > /dev/null 2>&1
+        systemctl disable apparmor > /dev/null 2>&1
     fi
     fi
 fi
 fi