mirror of
https://github.com/Kicksecure/security-misc.git
synced 2024-12-30 12:26:12 -05:00
6b76373395
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
|