#!/bin/ksh

# Copyright 2002 Sun Microsystems, Inc.  All rights reserved.
# Use is subject to license terms.
#
#ident  "@(#)postbackout 1.1     03/06/09 SMI"

SAVE_EDITOR=$EDITOR
EDITOR=ex;export EDITOR
# Remove restart_se6000 out of crontab
while crontab -l | grep restart_se6000 > /dev/null ; do
   /usr/bin/crontab -e << end  > /dev/null
/restart_se6000
d
w
q
end
done

EDITOR=$SAVE_EDITOR;export EDITOR

echo "postbackout successfully completed!"
