ppp-log-uptime.sh 129 Bytes
Newer Older
Ad Schellevis's avatar
Ad Schellevis committed
1 2 3
#!/bin/sh
#write the uptime in seconds to the persistent log in /conf/
/bin/echo `date -j +%Y.%m.%d-%H:%M:%S` $1 >> /conf/$2.log