1 #!/bin/sh 2 LANG=en_EN.utf8 && /sbin/ifconfig | sed -n 's|.*P-t-P:\([0-9]*\.[0-9]*\.[0-9]*\.[0-9]*\).*|\1|p'