root/src/usr/local/sbin/ppp-log-uptime.sh @ 56743bb1
1 |
#!/bin/sh
|
---|---|
2 |
#write the uptime in seconds to the persistent log in /conf/
|
3 |
/etc/rc.conf_mount_rw |
4 |
/bin/echo `date -j +%Y.%m.%d-%H:%M:%S` $1 >> /conf/$2.log |
5 |
/etc/rc.conf_mount_ro |