mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-11-25 12:56:23 -05:00
Merge remote-tracking branch 'ArrayBolt3/arraybolt3/trixie'
This commit is contained in:
commit
4e7cfb0d06
1 changed files with 7 additions and 0 deletions
|
|
@ -8,6 +8,8 @@ set -o nounset
|
||||||
set -o errtrace
|
set -o errtrace
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
|
|
||||||
|
source /usr/libexec/helper-scripts/package_installed_check.sh
|
||||||
|
|
||||||
if [ -z "${PAM_USER:-}" ]; then
|
if [ -z "${PAM_USER:-}" ]; then
|
||||||
true "$0: ERROR: Environment variable 'PAM_USER' is unset!"
|
true "$0: ERROR: Environment variable 'PAM_USER' is unset!"
|
||||||
## 'exit 0' here to let the appropriate PAM module handle this.
|
## 'exit 0' here to let the appropriate PAM module handle this.
|
||||||
|
|
@ -19,6 +21,11 @@ if [ -z "${PAM_SERVICE:-}" ]; then
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if ! pkg_installed 'user-sysmaint-split' ; then
|
||||||
|
true "$0: INFO: user-sysmaint-split not installed. Proceeding, ok."
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
kernel_cmdline=''
|
kernel_cmdline=''
|
||||||
if [ -r /proc/cmdline ]; then
|
if [ -r /proc/cmdline ]; then
|
||||||
kernel_cmdline="$(cat /proc/cmdline)"
|
kernel_cmdline="$(cat /proc/cmdline)"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue