This repository has been archived on 2024-05-23. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
pi-imgtank/tools/install-piimgtank
T
2020-07-06 16:05:28 +02:00

34 lines
1023 B
Bash
Executable File

#!/bin/bash
# ---------------------------------------------------------------------------
# This script installs files and services specific to the pi-imgtank.
#
# Author: Bernhard Bablok
# License: GPL3
#
# Website: https://github.com/bablokb/pi-imgtank
#
# ---------------------------------------------------------------------------
# --- basic packages ------------------------------------------------------
apt-get update
apt-get -y install rsync graphicsmagick python-pip exfat-fuse fbi
# --- install pibrella support-library ------------------------------------
#pip install pibrella
# --- install specific files ----------------------------------------------
rsync -avz $(dirname "$0")/../files/ /
# --- enable/restart services ---------------------------------------------
systemctl enable endofboot.service
#systemctl enable hat-pibrella-server.service
systemctl enable img_upload.path
systemctl start endofboot.service
#systemctl start hat-pibrella-server.service
systemctl start img_upload.path