X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=keyscript-on;h=ef8f3e19f7f2fb0d89faea07b28c44656b55c2e7;hb=HEAD;hp=b86dd39791afe18210991cb31c2d6f2dfd076fec;hpb=50f25d1eec109c4596cfc638c9a7c98da0f0b5d0;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