mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-02-24 21:57:55 +07:00

by changing from a /etc/profile.d etc. related mechanism to start to a systemd unit file based approach Thanks to @marmarek for the bug report! https://forums.whonix.org/t/panic-on-oops-started-every-10s/19450
12 lines
348 B
Bash
Executable File
12 lines
348 B
Bash
Executable File
#!/bin/sh
|
|
|
|
## Copyright (C) 2019 - 2023 ENCRYPTED SUPPORT LP <adrelanos@whonix.org>
|
|
## See the file COPYING for copying conditions.
|
|
|
|
if [ -z "$XDG_CONFIG_DIRS" ]; then
|
|
XDG_CONFIG_DIRS=/etc/xdg
|
|
fi
|
|
if ! echo "$XDG_CONFIG_DIRS" | grep --quiet /usr/share/security-misc/ ; then
|
|
export XDG_CONFIG_DIRS=/usr/share/security-misc/:$XDG_CONFIG_DIRS
|
|
fi
|