Update CA trust during startup

This commit is contained in:
2Shirt 2018-09-28 13:11:28 -06:00
parent cd1017b522
commit 66cfe2b246
Signed by: 2Shirt
GPG key ID: 152FAC923B0E132C

View file

@ -1,5 +1,8 @@
setterm -blank 0 -powerdown 0
if [ "$(fgconsole 2>/dev/null)" -eq "1" ]; then
# Trust added root CAs
sudo trust extract-compat
# Update settings if using i3
if fgrep -q "i3" /proc/cmdline; then
sed -i -r 's/#(own_window_type override)/\1/' ~/.conkyrc