Skip to content
Snippets Groups Projects
Commit a0a9484f authored by hench's avatar hench
Browse files

Added that serial no is written in logfile_short.txt

parent 99426e9e
No related branches found
No related tags found
No related merge requests found
......@@ -258,6 +258,8 @@ fi
if [ -f "$SERIAL" ]; then
scp -i $SSHKEY $SERIAL $RUSER@$TARGETNODE:$RHOME/$SCRIPTNAME/$HOST/ &>/dev/null
echo -e "[computer serial]" $G_"OK"$_N
else
SERIALNO="_"
fi
#
......@@ -477,7 +479,8 @@ else
fi
# Log update
echo -e "comp-backup version: \$version" > $LOGSHORT
echo -e "Serial number: $SERIALNUMBER" > $LOGSHORT
echo -e "comp-backup version: \$version" >> $LOGSHORT
export OS_VER=$OS_VER
echo -e "OS version: \$OS_VER" >> $LOGSHORT
tail -n 6 $LOG >> $LOGSHORT
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment