image: Install Butterfly (web terminal)

This commit is contained in:
Artem Smirnov
2018-10-01 18:55:37 +03:00
parent bc6f066804
commit 2ae1c1dfaa
4 changed files with 25 additions and 3 deletions

View File

@@ -78,6 +78,7 @@ python-rosinstall-generator=0.1.14-1 \
python-wstool=0.1.17-1 \
python-rosinstall=0.7.8-1 \
build-essential=12.3 \
libffi-dev \
> /dev/null \
&& echo_stamp "Everything was installed!" "SUCCESS" \
|| (echo_stamp "Some packages wasn't installed!" "ERROR"; exit 1)
@@ -86,6 +87,13 @@ build-essential=12.3 \
sudo sed -i "s/updates_available//" /usr/share/byobu/status/status
# sudo sed -i "s/updates_available//" /home/pi/.byobu/status
echo_stamp "Install and enable Butterfly (web terminal)"
pip3 install butterfly
pip3 install butterfly[systemd]
ln -s /root/butterfly.service /lib/systemd/system/
ln -s /root/butterfly.socket /lib/systemd/system/
systemctl enable butterfly.socket
echo_stamp "Add .vimrc"
cat << EOF > /home/pi/.vimrc
set mouse-=a