pre-freeze-script (DB2)

Updated

#!/bin/sh

if [ "$(id -u)" -eq "0" ]; then

exec su - db2inst2 -c /db2home/db2inst2/write_suspend

fi