From 03ef91efda425c0dff9fcca123f64e9c068724c7 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Mon, 18 May 2009 19:06:21 -0400 Subject: [PATCH] Mount RW for key generation --- etc/rc.initial.toggle_sshd | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/etc/rc.initial.toggle_sshd b/etc/rc.initial.toggle_sshd index bf60c19909..8c8f93bda4 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