ip.conf 내용에 IP=이라고넣는다 cp ipconf ipconf.conf getifaddr eth0|ppp0|eth1>>ipconf.conf . ./ipconf.conf 그럼 변수는 $IP를 사용하여 스크립트만들면됨.