summaryrefslogtreecommitdiffstats
path: root/etc/rc.dyndns.storecache
blob: c7c043417fd2a0adae5848d3b629ab53b7eec2be (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

# copy cache file to /conf for permanent storage
/sbin/umount -f /cf 2>/dev/null
/sbin/mount -w -o noatime /cf 2>/dev/null
/bin/cp /var/db/ez-ipupdate.cache /conf
/sbin/umount -f /cf 2>/dev/null
/sbin/mount -r /cf 2>/dev/null

exit 0
OpenPOWER on IntegriCloud