summaryrefslogtreecommitdiffstats
path: root/usr/local/sbin/ppp-uptime.sh
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local/sbin/ppp-uptime.sh')
-rwxr-xr-xusr/local/sbin/ppp-uptime.sh3
1 files changed, 0 insertions, 3 deletions
diff --git a/usr/local/sbin/ppp-uptime.sh b/usr/local/sbin/ppp-uptime.sh
deleted file mode 100755
index d7a8441..0000000
--- a/usr/local/sbin/ppp-uptime.sh
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-#get ppp uptime from age of /tmp/{interface}up file
-[ -f /tmp/$1up ] && /bin/echo $((`date -j +%s` - `/usr/bin/stat -f %m /tmp/$1up`)) \ No newline at end of file
OpenPOWER on IntegriCloud