mirror of
https://github.com/OpenVoiceOS/OpenVoiceOS
synced 2025-01-22 15:00:55 +01:00
8766df6b2b
ovos-config as tool, starting of with expiring the default passwd
11 lines
226 B
Bash
11 lines
226 B
Bash
#!/bin/sh
|
|
|
|
# Check for first boot flag file
|
|
if [ -f "/etc/firstboot" ]; then
|
|
echo "[INFO] Expiring the mycroft user's password!"
|
|
passwd --expire mycroft
|
|
|
|
echo "[INFO] Removing firstboot flag!"
|
|
rm /etc/firstboot
|
|
fi
|