parent
2f217abdb3
commit
aaea54c732
|
@ -43,11 +43,11 @@ install() {
|
|||
if [[ $hostonly ]]; then
|
||||
inst_multiple -H -o \
|
||||
"$systemdutilconfdir"/coredump.conf \
|
||||
"$systemdsystemconfdir"/coredump.conf.d/*.conf \
|
||||
"$systemdsystemconfdir/coredump.conf.d/*.conf" \
|
||||
"$systemdsystemconfdir"/systemd-coredump.socket \
|
||||
"$systemdsystemconfdir"/systemd-coredump.socket.d/*.conf \
|
||||
"$systemdsystemconfdir/systemd-coredump.socket.d/*.conf" \
|
||||
"$systemdsystemconfdir"/systemd-coredump@.service \
|
||||
"$systemdsystemconfdir"/systemd-coredump@.service.d/*.conf \
|
||||
"$systemdsystemconfdir/systemd-coredump@.service.d/*.conf" \
|
||||
"$systemdsystemconfdir"/sockets.target.wants/systemd-coredump.socket
|
||||
fi
|
||||
}
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
# Prerequisite check(s) for module.
|
||||
check() {
|
||||
|
||||
# If the binary(s) requirements are not fulfilled the module can't be installed
|
||||
# If the binary(s) requirements are not fulfilled the module can't be installed.
|
||||
require_binaries systemd-repart || return 1
|
||||
|
||||
# Return 255 to only include the module, if another module requires it.
|
||||
|
@ -25,7 +25,7 @@ depends() {
|
|||
install() {
|
||||
|
||||
inst_multiple -o \
|
||||
"$libdir"/repart.d/*.conf \
|
||||
"$libdir/repart.d/*.conf" \
|
||||
"$systemdsystemunitdir"/systemd-repart.service \
|
||||
"$systemdsystemunitdir"/initrd-root-fs.target.wants/systemd-repart.service \
|
||||
systemd-repart
|
||||
|
@ -33,8 +33,8 @@ install() {
|
|||
# Install the hosts local user configurations if enabled.
|
||||
if [[ $hostonly ]]; then
|
||||
inst_multiple -H -o \
|
||||
/etc/repart.d/*.conf \
|
||||
"/etc/repart.d/*.conf" \
|
||||
"$systemdsystemconfdir"/systemd-repart.service \
|
||||
"$systemdsystemconfdir"/systemd-repart.service.d/*.conf
|
||||
"$systemdsystemconfdir/systemd-repart.service.d/*.conf"
|
||||
fi
|
||||
}
|
||||
|
|
|
@ -27,7 +27,7 @@ depends() {
|
|||
install() {
|
||||
|
||||
inst_multiple -o \
|
||||
"$sysctld"/*.conf \
|
||||
"$sysctld/*.conf" \
|
||||
"$systemdsystemunitdir"/systemd-sysctl.service \
|
||||
"$systemdsystemunitdir"/sysinit.target.wants/systemd-sysctl.service \
|
||||
"$systemdutildir"/systemd-sysctl
|
||||
|
@ -36,9 +36,9 @@ install() {
|
|||
if [[ $hostonly ]]; then
|
||||
inst_multiple -H -o \
|
||||
/etc/sysctl.conf \
|
||||
"$sysctlconfdir"/*.conf \
|
||||
"$sysctlconfdir/*.conf" \
|
||||
"$systemdsystemconfdir"/systemd-sysctl.service \
|
||||
"$systemdsystemconfdir"/systemd-sysctl.service.d/*.conf
|
||||
"$systemdsystemconfdir/systemd-sysctl.service.d/*.conf"
|
||||
fi
|
||||
|
||||
# Enable the systemd type service unit for sysctl.
|
||||
|
|
|
@ -41,7 +41,7 @@ install() {
|
|||
"$sysusersconfdir"/basic.conf \
|
||||
"$sysusersconfdir"/systemd.conf \
|
||||
"$systemdsystemconfdir"/systemd-sysusers.service \
|
||||
"$systemdsystemconfdir"/systemd-sysusers.service.d/*.conf
|
||||
"$systemdsystemconfdir/systemd-sysusers.service.d/*.conf"
|
||||
fi
|
||||
|
||||
# Enable the systemd type service unit for sysusers.
|
||||
|
|
Loading…
Reference in New Issue