diff --git a/xCAT/postscripts/xcatpostinit b/xCAT/postscripts/xcatpostinit index af6902714..9b6636b9b 100755 --- a/xCAT/postscripts/xcatpostinit +++ b/xCAT/postscripts/xcatpostinit @@ -19,7 +19,7 @@ if [ -x /etc/rc.d/init.d/functions ]; then . /etc/rc.d/init.d/functions fi -logger -t xcat "$0: action is $1" +logger -t xcat -p local4.info "$0: action is $1" case $1 in restart) $0 stop @@ -27,11 +27,11 @@ restart) ;; status) echo -n "xcatpostinit runs only at boot, runs additional post scripts" - logger -t xcat "xcatpostinit runs only at boot, runs additional post scripts" + logger -t xcat -p local4.info "xcatpostinit runs only at boot, runs additional post scripts" ;; stop) echo -n "nothing to stop " - logger -t xcat "nothing to stop" + logger -t xcat -p local4.info "nothing to stop" ;; start) # Node is stateless by default @@ -58,10 +58,10 @@ start) # Run $SCRIPT according to node type if [ $STATELITE -ne 0 ]; then - logger -t xCAT "Call $SCRIPT for statelite mode" + logger -t xCAT -p local4.info "Call $SCRIPT for statelite mode" "$SCRIPT" 4 else - logger -t xCAT "Call $SCRIPT for stateless mode" + logger -t xCAT -p local4.info "Call $SCRIPT for stateless mode" "$SCRIPT" fi ;;