This repository has been archived on 2023-02-21. You can view files and clone it, but cannot push or open issues or pull requests.
|
#!/bin/sh
|
|
|
|
# Save the DHCP lease database to the config path.
|
|
if [ -d "/var/dhcpd/var/db" ]; then
|
|
/etc/rc.conf_mount_rw
|
|
cd / && tar -czf /cf/conf/dhcpleases.tgz -C / var/dhcpd/var/db/
|
|
/etc/rc.conf_mount_ro
|
|
fi
|