[Fixed] `gpio` group add (sed error)
This commit is contained in:
parent
3f1bfd1c37
commit
d82b050c34
|
@ -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":
|
||||
|
||||
|
|
Loading…
Reference in New Issue