[Fixed] `gpio` group add (sed error)

This commit is contained in:
xdrm-brackets 2017-02-18 11:52:58 +01:00
parent 3f1bfd1c37
commit d82b050c34
1 changed files with 1 additions and 1 deletions

View File

@ -168,7 +168,7 @@ step5(){
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)/$1,sats/' | sudo tee /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 "<<< done":