summaryrefslogtreecommitdiffstats
path: root/src/usr/local/sbin
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/usr/local/sbin
parenteec44c64709c6e9dfc86f734476e547c3c2f67e8 (diff)
downloadpfsense-1289c0c17c38048b3f3fa18ff4a0f5a3d3533fdd.zip
pfsense-1289c0c17c38048b3f3fa18ff4a0f5a3d3533fdd.tar.gz
Remove all calls to conf_mount_r* functions
Diffstat (limited to 'src/usr/local/sbin')
-rwxr-xr-xsrc/usr/local/sbin/pfSsh.php2
-rwxr-xr-xsrc/usr/local/sbin/ppp-log-uptime.sh2
2 files changed, 0 insertions, 4 deletions
diff --git a/src/usr/local/sbin/pfSsh.php b/src/usr/local/sbin/pfSsh.php
index 8c49c67..c91ab7e 100755
--- a/src/usr/local/sbin/pfSsh.php
+++ b/src/usr/local/sbin/pfSsh.php
@@ -269,7 +269,6 @@ while ($shell_active == true) {
fwrite($recording_fd, $playbackbuffer);
fclose($recording_fd);
$command = "";
- conf_mount_ro();
echo "Recording stopped.\n";
$recording = false;
} else {
@@ -293,7 +292,6 @@ while ($shell_active == true) {
$command = "";
} else {
/* time to record */
- conf_mount_rw();
safe_mkdir("/etc/phpshellsessions");
$recording_fn = basename($command_split[1]);
$recording_fd = fopen("/etc/phpshellsessions/{$recording_fn}","w");
diff --git a/src/usr/local/sbin/ppp-log-uptime.sh b/src/usr/local/sbin/ppp-log-uptime.sh
index 53f301c..d853675 100755
--- a/src/usr/local/sbin/ppp-log-uptime.sh
+++ b/src/usr/local/sbin/ppp-log-uptime.sh
@@ -19,6 +19,4 @@
# limitations under the License.
#write the uptime in seconds to the persistent log in /conf/
-/etc/rc.conf_mount_rw
/bin/echo `date -j +%Y.%m.%d-%H:%M:%S` $1 >> /conf/$2.log
-/etc/rc.conf_mount_ro
OpenPOWER on IntegriCloud