fixes
This commit is contained in:
parent
dbfae093c5
commit
358d64604d
|
@ -102,8 +102,8 @@ sed -i "/FONT=/s/^#//g" /etc/rc.conf
|
|||
echo '0 * * * * /usr/bin/void-snapshot cron #void.system' > /var/spool/cron/root
|
||||
|
||||
if [[ ! ${cfg[fde_key_store]} == "none" ]]; then
|
||||
echo "Install pw is 'oem'"
|
||||
echo "read -p \"Change PW for disk? y/n \" answer" > /etc/runit/core-services/99-changepwdisk.sh
|
||||
echo "Install pw is 'oem'" > /etc/runit/core-services/99-changepwdisk.sh
|
||||
echo "read -p \"Change PW for disk? y/n \" answer" >> /etc/runit/core-services/99-changepwdisk.sh
|
||||
echo "if [ \"\${answer}\" = \"y\" ]; then" >> /etc/runit/core-services/99-changepwdisk.sh
|
||||
echo " while ! cryptsetup luksChangeKey /dev/disk/by-uuid/${cfg[partuuid]}; do" >> /etc/runit/core-services/99-changepwdisk.sh
|
||||
echo " echo \"Again, please\"" >> /etc/runit/core-services/99-changepwdisk.sh
|
||||
|
@ -112,8 +112,8 @@ if [[ ! ${cfg[fde_key_store]} == "none" ]]; then
|
|||
echo "fi" >> /etc/runit/core-services/99-changepwdisk.sh
|
||||
fi
|
||||
|
||||
echo "Install pw is 'oem'"
|
||||
echo "read -p \"Change PW for ${users[name1]}? y/n \" answer" > /etc/runit/core-services/99-changepwuser.sh
|
||||
echo "Install pw is 'oem'" > /etc/runit/core-services/99-changepwdisk.sh
|
||||
echo "read -p \"Change PW for ${users[name1]}? y/n \" answer" >> /etc/runit/core-services/99-changepwuser.sh
|
||||
echo "if [ \"\${answer}\" = \"y\" ]; then" >> /etc/runit/core-services/99-changepwuser.sh
|
||||
echo " while ! passwd ${users[name1]}; do" >> /etc/runit/core-services/99-changepwuser.sh
|
||||
echo " echo \"Again, please\"" >> /etc/runit/core-services/99-changepwuser.sh
|
||||
|
|
Loading…
Reference in New Issue
Block a user