comparison sources/root-filesystem/sbin/record-commands @ 1487:7ab15346cbf6

Document target /usr/sbin/record-commands wrapper.
author Rob Landley <rob@landley.net>
date Wed, 11 Jan 2012 05:59:31 -0600
parents a4673f17b7c0
children
comparison
equal deleted inserted replaced
1486:d398569effd2 1487:7ab15346cbf6
7 export WRAPPY_LOGPATH=/tmp/record-commands-log.txt 7 export WRAPPY_LOGPATH=/tmp/record-commands-log.txt
8 8
9 if [ $# -eq 0 ] 9 if [ $# -eq 0 ]
10 then 10 then
11 echo "Usage: record-commands command..." 11 echo "Usage: record-commands command..."
12 echo "Then examine $WRAPPY_LOGPATH"
12 exit 1 13 exit 1
13 fi 14 fi
14 15
15 mkdir -p "$WRAPDIR" && 16 mkdir -p "$WRAPDIR" &&
16 ln -s $(which record-commands-wrapper) "$WRAPDIR" || exit 1 17 ln -s $(which record-commands-wrapper) "$WRAPDIR" || exit 1