summaryrefslogtreecommitdiffstats
path: root/src/etc/rc.backup_dhcpleases.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/etc/rc.backup_dhcpleases.sh')
-rwxr-xr-xsrc/etc/rc.backup_dhcpleases.sh2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/etc/rc.backup_dhcpleases.sh b/src/etc/rc.backup_dhcpleases.sh
index 73f83a8..7a8e741 100755
--- a/src/etc/rc.backup_dhcpleases.sh
+++ b/src/etc/rc.backup_dhcpleases.sh
@@ -2,7 +2,5 @@
# 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
OpenPOWER on IntegriCloud