mirror of
https://github.com/OpenVoiceOS/OpenVoiceOS
synced 2024-12-19 20:33:59 +01:00
11 lines
226 B
Bash
Executable File
11 lines
226 B
Bash
Executable File
#!/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
|