OpenVoiceOS/buildroot-external/rootfs-overlay/usr/sbin/ovos-config

11 lines
226 B
Plaintext
Raw Normal View History

#!/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