mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01:00
Minor initscript cleanups thanks to Kees Cook and Magnus Runesson's
Ubuntification.
This commit is contained in:
parent
188a1b56c4
commit
a2b9ac62fc
6 changed files with 24 additions and 11 deletions
|
@ -30,6 +30,7 @@
|
|||
### BEGIN INIT INFO
|
||||
# Provides: aaeventd
|
||||
# Required-Start: apparmor
|
||||
# Required-Stop:
|
||||
# Default-Start: 2 3 5
|
||||
# Default-Stop:
|
||||
# Short-Description: AppArmor Notification and Reporting
|
||||
|
@ -131,5 +132,6 @@ case "$1" in
|
|||
*)
|
||||
usage
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
exit 0
|
||||
|
|
|
@ -30,6 +30,7 @@
|
|||
### BEGIN INIT INFO
|
||||
# Provides: aaeventd
|
||||
# Required-Start: apparmor
|
||||
# Required-Stop:
|
||||
# Default-Start: 2 3 5
|
||||
# Default-Stop:
|
||||
# Short-Description: AppArmor Notification and Reporting
|
||||
|
@ -126,6 +127,7 @@ case "$1" in
|
|||
*)
|
||||
usage
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
exit 0
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
# rc.apparmor by Steve Beattie
|
||||
#
|
||||
# /etc/init.d/apparmor
|
||||
#
|
||||
#
|
||||
# chkconfig: 2345 01 99
|
||||
# description: AppArmor rc file. This rc script inserts the apparmor \
|
||||
# module and runs the parser on the /etc/apparmor.d/ \
|
||||
|
@ -29,11 +29,13 @@
|
|||
#
|
||||
### BEGIN INIT INFO
|
||||
# Provides: apparmor
|
||||
# Default-Start: 3 4 5
|
||||
# Required-Start:
|
||||
# Required-Stop:
|
||||
# Default-Start: 3 4 5
|
||||
# Default-Stop: 0 1 2 6
|
||||
# Short-Description: AppArmor initialization
|
||||
# Description: AppArmor rc file. This rc script inserts the apparmor \
|
||||
# module and runs the parser on the /etc/apparmor.d/ \
|
||||
# Description: AppArmor rc file. This rc script inserts the apparmor
|
||||
# module and runs the parser on the /etc/apparmor.d/
|
||||
# directory.
|
||||
### END INIT INFO
|
||||
APPARMOR_FUNCTIONS=/lib/apparmor/rc.apparmor.functions
|
||||
|
@ -110,5 +112,6 @@ case "$1" in
|
|||
*)
|
||||
usage
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
exit 0
|
||||
|
|
|
@ -29,11 +29,13 @@
|
|||
#
|
||||
### BEGIN INIT INFO
|
||||
# Provides: apparmor
|
||||
# Default-Start: 3 4 5
|
||||
# Required-Start:
|
||||
# Required-Stop:
|
||||
# Default-Start: 3 4 5
|
||||
# Default-Stop: 0 1 2 6
|
||||
# Short-Description: AppArmor initialization
|
||||
# Description: AppArmor rc file. This rc script inserts the apparmor \
|
||||
# module and runs the parser on the /etc/apparmor.d/ \
|
||||
# Description: AppArmor rc file. This rc script inserts the apparmor
|
||||
# module and runs the parser on the /etc/apparmor.d/
|
||||
# directory.
|
||||
### END INIT INFO
|
||||
APPARMOR_FUNCTIONS=/lib/apparmor/rc.apparmor.functions
|
||||
|
@ -117,6 +119,7 @@ case "$1" in
|
|||
*)
|
||||
usage
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
exit 0
|
||||
|
||||
|
|
|
@ -93,6 +93,7 @@ case "$1" in
|
|||
*)
|
||||
usage
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
exit 0
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
# /etc/init.d/boot.apparmor
|
||||
# and its symbolic link
|
||||
# /sbin/rcapparmor
|
||||
#
|
||||
#
|
||||
# chkconfig: 2345 01 99
|
||||
# description: AppArmor rc file. This rc script inserts the apparmor \
|
||||
# module and runs the parser on the /etc/apparmor.d/ \
|
||||
|
@ -32,12 +32,13 @@
|
|||
### BEGIN INIT INFO
|
||||
# Provides: apparmor
|
||||
# Required-Start:
|
||||
# Rquired-Stop:
|
||||
# Should-Start: $local_fs
|
||||
# Default-Start: B 2 3 5
|
||||
# Default-Stop:
|
||||
# Default-Stop:
|
||||
# Short-Description: AppArmor initialization
|
||||
# Description: AppArmor rc file. This rc script inserts the apparmor \
|
||||
# module and runs the parser on the /etc/apparmor.d/ \
|
||||
# Description: AppArmor rc file. This rc script inserts the apparmor
|
||||
# module and runs the parser on the /etc/apparmor.d/
|
||||
# directory.
|
||||
### END INIT INFO
|
||||
APPARMOR_FUNCTIONS=/lib/apparmor/rc.apparmor.functions
|
||||
|
@ -121,6 +122,7 @@ case "$1" in
|
|||
*)
|
||||
usage
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
exit 0
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue