/usr/share/ipmiutil/ipmiutil.pre is in ipmiutil 2.9.7-1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 | #!/bin/sh
#
# Before starting an ipmiutil service, make sure we have a driver loaded,
# since running driverless for multi-user is not supported.
/usr/bin/ipmiutil cmd -k 2>/dev/null |grep "driverless" >/dev/null 2>&1
if [ $? -eq 0 ]; then
rv=1
echo "No Linux IPMI driver loaded, aborting."
else
rv=0
fi
exit $rv
|