summaryrefslogtreecommitdiffstats
path: root/etc/rc.dyndns.storecache
blob: ceb2c1738acc0b97c9801f1d903696d3a2e0c4f6 (plain)
1
2
3
4
5
6
7
8
#!/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
OpenPOWER on IntegriCloud