I have a MySQL database with clients info in it: name, ipaddres, mac address, status
I want to do a bash script witch takes these and output in a file in this format:
surname1_name1,ipaddress1,macaddress1,status1
surname2_name2,ipaddress2,macaddress2,status2
etc...
So I can use my firewall script to get the ip's from the file and see if their status is 1 or 0 and use this information for the rules.
2006-09-01
09:51:08
·
1 answers
·
asked by
Marton G
1
in
Computers & Internet
➔ Programming & Design