summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/standalone_root_pw_reset3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/standalone_root_pw_reset b/scripts/standalone_root_pw_reset
index 7b04a9ba..b76de6e9 100755
--- a/scripts/standalone_root_pw_reset
+++ b/scripts/standalone_root_pw_reset
@@ -79,8 +79,7 @@ sed -i \
-e "/^.* user root {/,/}/s/encrypted-password:.*\$/encrypted-password: \"$pw\"/" \
$CF
-echo "Root password has been reset."
-echo "`date`: Root password reset to factory value" >> /var/log/messages
+logger -s -p auth.notice "Root password reset to factory value"
sync
echo "System will reboot in 10 seconds..."