We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 58a5241 commit 29e6e88Copy full SHA for 29e6e88
sbin/ppp-script
@@ -1,7 +1,7 @@
1
#!/bin/sh
2
3
# Set the router for this interface
4
-/sbin/ifconfig $2 | grep "$1" | awk '{ print $2 }' > /tmp/$2_router
+/sbin/ifconfig $2 | grep "$1" | awk '{ print $4 }' > /tmp/$2_router
5
6
# Remove file if it exists
7
if [ -f /var/etc/nameserver_$2 ]; then
0 commit comments