#!/bin/sh if [ "$(id -u)" -eq "0" ]; then exec su oracle -c /oracle/oracle11g/DBA_SCRIPTS/pre-freeze.sql fi