📄 amcrypt.sh
字号:
#!@SHELL@## Original wrapper by Paul Bijnens## worked by Stefan G. Weichinger# to enable gpg-encrypted dumps via aespipe# also worked by Matthieu Lochegnies for server-side encryptionprefix="@prefix@"exec_prefix="@exec_prefix@"sbindir="@sbindir@"amlibexecdir="@amlibexecdir@". "${amlibexecdir}/amanda-sh-lib.sh"# add sbin and ucb dirs, as well as csw (blastwave)PATH="$PATH:/usr/sbin:/sbin:/usr/ucb:/opt/csw/bin"export PATHAMANDA_HOME=~@CLIENT_LOGIN@AM_AESPIPE=@sbindir@/amaespipeAM_PASSPHRASE=$AMANDA_HOME/.am_passphraseAESPIPE=`which aespipe`if [ $? -ne 0 ] ; then echo `_ '%s: %s was not found in %s' "$0" "aespipe" "$PATH"` >&2 exit 2fiif [ ! -x $AESPIPE ] ; then echo `_ '%s: %s is not executable' "$0" "aespipe"` >&2 exit 2fiif [ ! -x $AM_AESPIPE ] ; then echo `_ '%s: %s was not found' "$0" "$AM_AESPIPE"` >&2 exit 2fiif [ ! -x $AM_AESPIPE ] ; then echo `_ '%s: %s is not executable' "$0" "$AM_AESPIPE"` >&2 exit 2fi$AM_AESPIPE "$@" 3< $AM_PASSPHRASErc=$?exit $rc
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -