mirror of
https://github.com/CopterExpress/clover.git
synced 2026-05-30 14:59:31 +00:00
image: Install Butterfly (web terminal)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user