11 lines
226 B
Plaintext
11 lines
226 B
Plaintext
|
#!/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
|