2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-07-22 12:21:10 +00:00
Files
xcat-core/xCAT/postscripts/umountpost
2018-11-15 17:12:55 +08:00

15 lines
278 B
Bash
Executable File

#!/bin/ksh
# IBM(c) 2007 EPL license http://www.eclipse.org/legal/epl-v10.html
#(C)IBM Corp
#
if [ -n "$LOGLABEL" ]; then
log_label=$LOGLABEL
else
log_label="xcat"
fi
result=`umount /post 2>&1`
returncode=$?
logger -t $log_label -p local4.info $result
exit $returncode