summaryrefslogtreecommitdiff
path: root/src/op_mode/show_ppp_stats.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/op_mode/show_ppp_stats.sh')
-rwxr-xr-xsrc/op_mode/show_ppp_stats.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/op_mode/show_ppp_stats.sh b/src/op_mode/show_ppp_stats.sh
new file mode 100755
index 000000000..d9c17f966
--- /dev/null
+++ b/src/op_mode/show_ppp_stats.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+if [ -d "/sys/class/net/$1" ]; then
+ /usr/sbin/pppstats "$1";
+fi