i am using a script that mail me my DSL ip when changed. but i have 4DSL lines and i need a script that check all DSL lines that i inter in it and mail me their ips.
i have
DSL1=pppoe-out1
DSL2=pppoe-out2
DSL3=pppoe-out3
DSL4=pppoe-out4