security-misc/etc/profile.d/security-misc.sh

14 lines
393 B
Bash
Raw Normal View History

2019-07-08 18:59:39 -04:00
#!/bin/sh
2023-03-30 02:08:47 -04:00
## Copyright (C) 2019 - 2023 ENCRYPTED SUPPORT LP <adrelanos@whonix.org>
2019-07-08 18:59:39 -04:00
## See the file COPYING for copying conditions.
if [ -z "$XDG_CONFIG_DIRS" ]; then
XDG_CONFIG_DIRS=/etc/xdg
fi
export XDG_CONFIG_DIRS=/usr/share/security-misc/:$XDG_CONFIG_DIRS
if [ -x /usr/libexec/security-misc/panic-on-oops ]; then
sudo --non-interactive /usr/libexec/security-misc/panic-on-oops
2019-07-08 18:59:39 -04:00
fi