Revert "Make AppArmor and NetworkManager required again (#77)"

This reverts commit 68a5b92a60.
This commit is contained in:
Pascal Vizeli 2020-02-16 00:14:45 +01:00 committed by GitHub
parent 68a5b92a60
commit ab4bb96239
2 changed files with 9 additions and 4 deletions

View file

@ -13,12 +13,17 @@ jq
curl
avahi-daemon
dbus
apparmor-utils
network-manager
```
**Important**: Don't only install NetworkManager, you need also use it on your system.
## Optional
```
apparmor-utils
network-manager
```
## Run
Run as root (sudo su):

View file

@ -19,8 +19,8 @@ command -v jq > /dev/null 2>&1 || { echo "[Error] Please install jq first"; exit
command -v curl > /dev/null 2>&1 || { echo "[Error] Please install curl first"; exit 1; }
command -v avahi-daemon > /dev/null 2>&1 || { echo "[Error] Please install avahi first"; exit 1; }
command -v dbus-daemon > /dev/null 2>&1 || { echo "[Error] Please install dbus first"; exit 1; }
command -v nmcli > /dev/null 2>&1 || { echo "[Error] No NetworkManager support on host."; exit 1; }
command -v apparmor_parser > /dev/null 2>&1 || { echo "[Error] No AppArmor support on host."; exit 1; }
command -v nmcli > /dev/null 2>&1 || echo "[Warning] No NetworkManager support on host."
command -v apparmor_parser > /dev/null 2>&1 || echo "[Warning] No AppArmor support on host."
# Check if Modem Manager is enabled
if systemctl list-unit-files ModemManager.service | grep enabled; then