summaryrefslogtreecommitdiffstats
path: root/etc/rc.initial.toggle_sshd
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@sullrich-MacBookPro.geekgod.com>2009-05-18 19:06:21 -0400
committerScott Ullrich <sullrich@sullrich-MacBookPro.geekgod.com>2009-05-18 19:06:21 -0400
commit03ef91efda425c0dff9fcca123f64e9c068724c7 (patch)
tree7bd261ae36e3806eacf50da8e6b2450f4de87351 /etc/rc.initial.toggle_sshd
parent6785fbfebcfb773c0974f5810c2e02451b1410af (diff)
downloadpfsense-03ef91efda425c0dff9fcca123f64e9c068724c7.zip
pfsense-03ef91efda425c0dff9fcca123f64e9c068724c7.tar.gz
Mount RW for key generation
Diffstat (limited to 'etc/rc.initial.toggle_sshd')
-rw-r--r--etc/rc.initial.toggle_sshd4
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/rc.initial.toggle_sshd b/etc/rc.initial.toggle_sshd
index bf60c19..8c8f93b 100644
--- a/etc/rc.initial.toggle_sshd
+++ b/etc/rc.initial.toggle_sshd
@@ -34,6 +34,8 @@ require_once("config.inc");
$fp = fopen('php://stdin', 'r');
+conf_mount_rw();
+
if (isset($config['system']['enablesshd'])) {
echo "SSHD is currently enabled. Would you like to disable? [y/n]? ";
$yn = chop(fgets($fp));
@@ -63,3 +65,5 @@ if (isset($config['system']['enablesshd'])) {
}
fclose($fp);
+
+conf_mount_ro(); \ No newline at end of file
OpenPOWER on IntegriCloud