mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-08-03 21:54:12 -04:00
fix panic-on-oops started every 10s in Qubes-Whonix
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
This commit is contained in:
parent
af6c6971a7
commit
6b76373395
2 changed files with 20 additions and 5 deletions
|
@ -9,8 +9,3 @@ 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
|
||||
|
||||
if [ -x /usr/libexec/security-misc/panic-on-oops ]; then
|
||||
## Hide output. Otherwise could confuse Qubes UpdatesProxy.
|
||||
sudo --non-interactive /usr/libexec/security-misc/panic-on-oops 1>/dev/null 2>/dev/null
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue