Commit ec9d2f3f authored by Andrew McNab's avatar Andrew McNab
Browse files

Run db12 at runlevel 94

parent 78db9012
VERSION=00.15
VERSION=00.16
......@@ -2,7 +2,7 @@
#
# db12 Run DB12 fast benchmark and create /etc/db12 files
#
# chkconfig: 345 09 91
# chkconfig: 345 94 6
# description: Run DB12 fast benchmark and create /etc/db12 files
# Source function library.
......@@ -26,8 +26,16 @@ start() {
echo -n $"Run DB12 fast benchmark: "
if [ -x /bin/plymouth ] ; then
plymouth deactivate
fi
db12_sum=`/usr/sbin/DIRACbenchmark.py $total_cpu | cut -f2 -d' '`
if [ -x /bin/plymouth ] ; then
plymouth reactivate
fi
if [ "$db12_sum" != "" ] ; then
echo "$db12_sum" > /etc/db12/db12
fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment