summaryrefslogtreecommitdiffstats
path: root/src/etc/rc.initial.password
diff options
context:
space:
mode:
Diffstat (limited to 'src/etc/rc.initial.password')
-rwxr-xr-xsrc/etc/rc.initial.password9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/etc/rc.initial.password b/src/etc/rc.initial.password
index b5e01ed..969745b 100755
--- a/src/etc/rc.initial.password
+++ b/src/etc/rc.initial.password
@@ -1,6 +1,5 @@
#!/usr/local/bin/php-cgi -f
<?php
-/* $Id$ */
/*
rc.initial.password
part of m0n0wall (http://m0n0.ch/wall)
@@ -41,14 +40,14 @@
echo "\n" . gettext('
The webConfigurator admin password and privileges will be reset to the default (which is "' . strtolower($g['product_name']) . '").') . "\n" .
- gettext('Do you want to proceed [y|n]?');
+ gettext('Do you want to proceed [y|n]?') . " ";
if (strcasecmp(chop(fgets($fp)), "y") == 0) {
if (isset($config['system']['webgui']['authmode']) &&
- $config['system']['webgui']['authmode'] != "Local Database") {
+ $config['system']['webgui']['authmode'] != "Local Database") {
echo "\n" . gettext('
The User manager authentication server is set to "' . $config['system']['webgui']['authmode'] . '".') . "\n" .
- gettext('Do you want to set it back to Local Database [y|n]?');
+ gettext('Do you want to set it back to Local Database [y|n]?') . " ";
if (strcasecmp(chop(fgets($fp)), "y") == 0) {
$config['system']['webgui']['authmode'] = "Local Database";
}
@@ -77,7 +76,7 @@ The User manager authentication server is set to "' . $config['system']['webgui'
write_config(gettext("password changed from console menu"));
echo "\n" . gettext('
-The password for the webConfigurator has been reset and
+The password for the webConfigurator has been reset and
the default username has been set to "admin".') . "\n" .
gettext('
Remember to set the password to something else than
OpenPOWER on IntegriCloud