diff --git a/clone/clone b/clone/clone index 83b0248..4bf4c27 100755 --- a/clone/clone +++ b/clone/clone @@ -163,12 +163,13 @@ step5(){ echo " - /etc/group"; echo " (.) emulate \`groupadd ssh-key\`"; echo " - /etc/group"; - echo " (.) emulate \`usermod -a -G ssh-key,sats,gpio sats\`"; + echo " (.) emulate \`usermod -a -G ssh-key,sats sats\`"; echo " (.) emulate \`usermod -a -G ssh-key pi\`"; echo " - /etc/group"; cat ./utility/group_append | sudo tee -a /mnt/etc/group > /dev/null; cat ./utility/group_append | sudo tee -a /mnt/etc/group- > /dev/null; - sudo cat /mnt/etc/group | sed 's/^gpio:x:997:pi$/\0,sats/' | sudo tee /mnt/etc/group > /dev/null; + echo " (.) emulate \`usermod -a -G gpio,spi sats\`"; + sudo cat /mnt/etc/group | sed 's/^gpio:x:997:pi$/\0,sats/' | sed 's/^spi:x:999:pi$/\0,sats/' | sudo tee /mnt/etc/group > /dev/null; echo "<<< done":