#!/sbin/sh
#------------------------------------------------------------------#
#
# HPUX_ID: @(#) $Revision: 15.2 $ generated on Mon Aug 21 22:16:21 EDT 2000
#
# (c)Copyright 1983-2000 Hewlett-Packard Co.,  All Rights Reserved.
#
#------------------------------------------------------------------#
# SD unconfigure script template for use with all patches.         #
#------------------------------------------------------------------#
# This file is optional for all patches.  The purpose of this      #
# script is to undo most configuration changes that were made to   #
# the system by the corresponding configure script.                #
#------------------------------------------------------------------#

_PATCHID=PHNE_22244

UTILS="/usr/lbin/sw/control_utils"

if [ ! -f $UTILS ]; then
    echo "ERROR:   Cannot find $UTILS"
    exit 1
fi

. $UTILS
exitval=$SUCCESS

#####
##### Insert any code you may require right here.
##### Pay attention to the exitval variable and set appropriately
##### in your code.  If you are unsure as to what types of operations
##### are legal in this file and what types aren't, consult the 
##### "Guidelines for SD Control Scripts" document.
#####
##### START_CUSTOMIZATION_HERE

swlist -l file -l product Networking.LAN-RUN 2>/dev/null | grep -q "^[ ]*/usr/old/usr/newconfig/etc/rc.config.d/hpbase100conf" 2>&1 >/dev/null

if [ $? -eq 0 ]
then
   swmodify -u -x files="/usr/old/usr/newconfig/etc/rc.config.d/hpbase100conf" Networking.LAN-RUN
fi

exit $exitval
