summaryrefslogtreecommitdiffstats
path: root/etc/rc.initial.toggle_sshd
diff options
context:
space:
mode:
Diffstat (limited to 'etc/rc.initial.toggle_sshd')
-rwxr-xr-xetc/rc.initial.toggle_sshd4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc.initial.toggle_sshd b/etc/rc.initial.toggle_sshd
index ad1d868..997f3c1 100755
--- a/etc/rc.initial.toggle_sshd
+++ b/etc/rc.initial.toggle_sshd
@@ -53,7 +53,7 @@ if (isset($config['system']['enablesshd'])) {
echo " done.\n";
exec("ps awux | grep '/usr/sbin/sshd' | grep -v grep | awk '{print $2}' | xargs kill");
}
-
+
} else {
echo "SSHD is currently disabled. Would you like to enable? [y/n]? ";
$yn = chop(fgets($fp));
@@ -67,7 +67,7 @@ if (isset($config['system']['enablesshd'])) {
echo "\nReloading firewall rules.";
filter_configure();
echo " done.\n\n";
- }
+ }
}
fclose($fp);
OpenPOWER on IntegriCloud