summaryrefslogtreecommitdiffstats
path: root/etc/rc.backup_dhcpleases.sh
blob: 22cc2199c2b6a719a377a59a9857a326ce8dd9fb (plain)
1
2
3
4
5
6
#!/bin/sh

# Save the DHCP lease database to the config path.
/etc/rc.conf_mount_rw
cd / && tar -czf /cf/conf/dhcpleases.tgz -C / var/dhcpd/var/db/
/etc/rc.conf_mount_ro
OpenPOWER on IntegriCloud