1
1
mirror of https://github.com/OpenVoiceOS/OpenVoiceOS synced 2025-01-22 15:00:55 +01:00
OpenVoiceOS/buildroot-external/rootfs-overlay/usr/sbin/ovos-config
j1nx 8766df6b2b Re-Initiate the firstboot system utilizing a different approach
ovos-config as tool, starting of with expiring the default passwd
2021-04-02 12:22:46 +02:00

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