mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 00:14:44 +01:00

The script does not require bash, a POSIX shell is sufficient. This removes bash as a runtime dependency of the parser.
10 lines
137 B
Bash
10 lines
137 B
Bash
#!/bin/sh
|
|
|
|
test $# = 0 || {
|
|
echo "Usage: $0"
|
|
echo
|
|
echo "Unloads all AppArmor profiles"
|
|
exit 1
|
|
}
|
|
|
|
/lib/apparmor/apparmor.systemd stop
|