summaryrefslogtreecommitdiffstats
path: root/src/etc/rc.backup_aliastables.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_aliastables.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_aliastables.sh')
-rwxr-xr-xsrc/etc/rc.backup_aliastables.sh4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/etc/rc.backup_aliastables.sh b/src/etc/rc.backup_aliastables.sh
index dfc8b72..7999b0a 100755
--- a/src/etc/rc.backup_aliastables.sh
+++ b/src/etc/rc.backup_aliastables.sh
@@ -7,8 +7,6 @@
# Save the alias tables database to the RAM disk store.
if [ -d "${DBPATH}" ]; then
- [ -z "$NO_REMOUNT" ] && /etc/rc.conf_mount_rw
-
if [ ! -d "${RAM_Disk_Store}" ]; then
mkdir -p "${RAM_Disk_Store}"
fi
@@ -19,6 +17,4 @@ if [ -d "${DBPATH}" ]; then
cd / && /usr/bin/tar -czf "${RAM_Disk_Store}/${filename}.tgz" -C / "${DBPATH}/${filename}"
fi
done
-
- [ -z "$NO_REMOUNT" ] && /etc/rc.conf_mount_ro
fi
OpenPOWER on IntegriCloud