iankelling.org
/
git
/
distro-setup
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
i3 fix, other improvements
[distro-setup]
/
keyscript-on
diff --git
a/keyscript-on
b/keyscript-on
index b86dd39791afe18210991cb31c2d6f2dfd076fec..ef8f3e19f7f2fb0d89faea07b28c44656b55c2e7 100755
(executable)
--- a/
keyscript-on
+++ b/
keyscript-on
@@
-41,7
+41,7
@@
sed="sed --follow-symlinks"
# /sbin/update-initramfs: 157: mkinitramfs: not found
PATH="/sbin:$PATH"
-if [[ $
INVOCATION_ID
]]; then
+if [[ $
PPID == 1
]]; then
if [[ -e /b/bash_unpublished/source-state ]]; then
# this is the canonical one
source /b/bash_unpublished/source-state