# # Build script for etc/saninput.txt # $Id: //depot/dev/proactive/explorer3/build/saninput.txt#4 $ # # etc/saninput.txt builder if [ "$1" = install ]; then if [ ! -f "${PKG_INSTALL_ROOT}/${BASEDIR}/etc/saninput.txt" ] then # File header echo "# Input file for extended data collection" echo "# Format is SWITCH SWITCH-TYPE PASSWORD LOGIN" echo "# Valid switch types are ancor and brocade" echo "# LOGIN is required for brocade switches, the default is admin" fi fi # etc/saninput.txt deconstructor if [ "$1" = remove ]; then if [ -f "${PKG_INSTALL_ROOT}/${BASEDIR}/etc/saninput.txt" ]; then cat ${PKG_INSTALL_ROOT}/${BASEDIR}/etc/saninput.txt fi fi