Calling external file parameters into scripts?
I'm trying to call an external file in a bash firewall script on my Debian
system. The external file is /etc/ban_list. I tried this without success:
for site in /etc/ban_list; do
iptables -A banned_site -s site -j DROP
done
Can someone show me the right way to call in parameters to a script from
an external file?
--
Lance Peterson
dlancep@onebox.com - email
(817) 289-2800 x1142 - voicemail/fax
__________________________________________________
FREE voicemail, email, and fax...all in one place.
Sign Up Now! http://www.onebox.com
Reply to: