#!/bin/bash # # Language: Bash Shell Script # # Filename: /usr/local/etc/run-rfs4000.sh # # Purpose: This script will kickoff the Expect scripts that will re-configure # the RADIUS configuration on the Motorola (formerly Symbol) RFS 4000 # Wireless LAN Switches. # # Author: Michael McNamara # Date: February 21, 2014 # Version: 1.0 # # Changes: # # # Variables PATH_TO=/usr/local/etc EXPECT=/usr/local/etc/motorolarfs4000radius.exp SWITCHES='10.1.1.1 10.1.1.2 10.1.1.3 10.1.1.4' ########################################################################## # M A I N S C R I P T B O D Y ########################################################################## for SWITCH in $SWITCHES do $EXPECT $SWITCH done exit