profile.d/00base: Make key information public for public keys.
[distorted-keys] / cryptop.in
index 7b38a0a..4858a53 100755 (executable)
 set -e
 : ${ETC=@pkgconfdir@}
 : ${KEYS=@pkgstatedir@}
-: ${KEYSLIB=@pkglibdir@}
+: ${KEYSLIB=@pkgdatadir@}
 export ETC KEYS KEYSLIB
 
 . "$KEYSLIB"/keyfunc.sh
 
-usage="usage: $quis COMMAND [ARGUMENTS ...]"
+usage="COMMAND [ARGUMENTS ...]"
 prefix=cryptop
 
+runas @user@ cryptop "$@"
+
 ## Parse options.
 while getopts "hv" opt; do
   case "$opt" in