X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Flive-bottom%2F44pk_allow;h=84c4b6b92f5e618c83c18f58a1811b0a1fe7211e;hb=046580edb4877fc1a4a823e882a0949fbc729544;hp=aefde98a7c1eda38554a25226f6d94c37d71eedd;hpb=44bd0a501695e65e887d0752dbbecad9d7b9d90b;p=live-boot-grml.git diff --git a/scripts/live-bottom/44pk_allow b/scripts/live-bottom/44pk_allow old mode 100644 new mode 100755 index aefde98..84c4b6b --- a/scripts/live-bottom/44pk_allow +++ b/scripts/live-bottom/44pk_allow @@ -1,28 +1,33 @@ #!/bin/sh -PREREQ="" -DESCRIPTION="Grant administrative PolicyKit pivilieges to default user..." +#set -e + +# initramfs-tools header -. /scripts/casper-functions +PREREQ="" prereqs() { - echo "$PREREQ" + echo "${PREREQ}" } -case $1 in -# get pre-requisites -prereqs) - prereqs - exit 0 - ;; +case "${1}" in + prereqs) + prereqs + exit 0 + ;; esac -log_begin_msg "$DESCRIPTION" +# live-initramfs header + +. /scripts/live-functions + +log_begin_msg "Grant administrative PolicyKit pivilieges to default user" + +# live-initramfs script # configure PolicyKit in live session cat << EOF > /root/etc/PolicyKit/PolicyKit.conf - /root/etc/PolicyKit/PolicyKit.conf - - - - - - - - + + + + + + + + EOF