mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Mount RW for key generation
This commit is contained in:
parent
6785fbfebc
commit
03ef91efda
@ -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();
|
||||
Loading…
Reference in New Issue
Block a user