mirror of
https://github.com/OpenVoiceOS/OpenVoiceOS
synced 2025-06-05 22:19:21 +02:00
Re-Initiate the firstboot system utilizing a different approach
ovos-config as tool, starting of with expiring the default passwd
This commit is contained in:
10
buildroot-external/rootfs-overlay/usr/sbin/ovos-config
Normal file
10
buildroot-external/rootfs-overlay/usr/sbin/ovos-config
Normal file
@ -0,0 +1,10 @@
|
||||
#!/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
|
Reference in New Issue
Block a user