diff options
author | Renato Botelho <renato@netgate.com> | 2016-10-12 15:49:43 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2016-10-12 16:23:14 -0300 |
commit | 1289c0c17c38048b3f3fa18ff4a0f5a3d3533fdd (patch) | |
tree | aba47ff46f335961f91cae4ba2e228e49209b310 /src/usr/local/sbin | |
parent | eec44c64709c6e9dfc86f734476e547c3c2f67e8 (diff) | |
download | pfsense-1289c0c17c38048b3f3fa18ff4a0f5a3d3533fdd.zip pfsense-1289c0c17c38048b3f3fa18ff4a0f5a3d3533fdd.tar.gz |
Remove all calls to conf_mount_r* functions
Diffstat (limited to 'src/usr/local/sbin')
-rwxr-xr-x | src/usr/local/sbin/pfSsh.php | 2 | ||||
-rwxr-xr-x | src/usr/local/sbin/ppp-log-uptime.sh | 2 |
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 |