summaryrefslogtreecommitdiffstats
path: root/src/etc/rc.backup_dhcpleases.sh
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2016-10-12 15:49:43 -0300
committerRenato Botelho <renato@netgate.com>2016-10-12 16:23:14 -0300
commit1289c0c17c38048b3f3fa18ff4a0f5a3d3533fdd (patch)
treeaba47ff46f335961f91cae4ba2e228e49209b310 /src/etc/rc.backup_dhcpleases.sh
parenteec44c64709c6e9dfc86f734476e547c3c2f67e8 (diff)
downloadpfsense-1289c0c17c38048b3f3fa18ff4a0f5a3d3533fdd.zip
pfsense-1289c0c17c38048b3f3fa18ff4a0f5a3d3533fdd.tar.gz
Remove all calls to conf_mount_r* functions
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