/usr/bin/oarnodechecklist is in oar-node 2.5.6-2ubuntu1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | #!/bin/bash
# $Id$
OARUSER=oar
eval CHECKLOGDIR=~$OARUSER/checklogs
if ! [ -d $CHECKLOGDIR ]; then
echo 1>&2 "Error: Checklogs directory does not exist ($CHECKLOGDIR) !"
exit 1
fi
echo "Checklogs list in $CHECKLOGDIR:"
shopt -s nullglob
cd $CHECKLOGDIR/
for t in *; do
for f in *; do
echo " $f"
done
exit 0
done
echo " <empty>"
exit 0
|