File indexing completed on 2024-05-12 05:27:52

0001 #!/bin/sh -ex
0002 
0003 USER=mycroft
0004 GROUP=uinput
0005 UGID=32011
0006 
0007 groupadd ${GROUP}
0008 
0009 usermod -a -G ${GROUP} ${USER}
0010 
0011 mkdir -p /home/$USER/.config/autostart-scripts/
0012 cp -r /etc/skel/.config/autostart-scripts/cec-daemon.py /home/$USER/.config/autostart-scripts/
0013 
0014 chown -R $UGID:$UGID /opt/mycroft
0015 chown -R $UGID:$UGID /home/$USER
0016 
0017 ldconfig
0018 
0019 pip3 install wheel
0020 pip3 install python-uinput
0021 pip3 install cec