Specify facility used by mcklogd via option

1. You can specify facility through -f option of mcreboot.sh.
   Example:
   mcreboot.sh -k 1 -f LOG_LOCAL6
   Note that you need to specify "-k 1" or "-k 2" to start mcklogd.
2. Kill mcklogd if needed in mcreboot.sh and mcstop+release.sh.
This commit is contained in:
Masamichi Takagi
2016-08-17 17:46:44 +09:00
parent a2456c3ed2
commit 1ce1b17a85
2 changed files with 9 additions and 2 deletions

View File

@ -49,3 +49,5 @@ if [ "`lsmod | grep -E 'ihk\s' | awk '{print $1}'`" != "" ]; then
if ! rmmod ihk; then echo "error: removing ihk" >&2; exit 1; fi
fi
# Stop mcklogd
pkill mcklogd