X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=keyscript-on;h=ef8f3e19f7f2fb0d89faea07b28c44656b55c2e7;hb=55b37c2dbe292fa1023c0c5376c2104fbe568011;hp=b86dd39791afe18210991cb31c2d6f2dfd076fec;hpb=3342374657bd712f14cd772378b23d2bca3382cb;p=distro-setup diff --git a/keyscript-on b/keyscript-on index b86dd39..ef8f3e1 100755 --- 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