From d901f1acb66a1c2f6ae85e12fdcbece859243dd7 Mon Sep 17 00:00:00 2001 From: cpu Date: Tue, 20 Feb 2024 16:29:14 +0100 Subject: [PATCH] instructions for mount --- README.md | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 2f55ffa..ee9b91a 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Install webcam-streamer +# Prepare the system Make sure you have the Raspbian 12 `lsb_release -a` @@ -14,8 +14,26 @@ In your home directory clone the repo `cd ~` `git clone https://gitea.virtonline.eu/2HoursProject/webcam-streamer.git` -Go into the project directory -`cd webcam-streamer` +Go into the project directory +`cd webcam-streamer` + +Insert a formatted (vfat) drive into USB. +Install the `mnt-usb` systemd mount file +`sudo cp mnt-usb.mount /etc/systemd/system/` + +Reload systemd manager configuration +`sudo systemctl daemon-reload` + +Mount the USB drive +`sudo systemctl start mnt-usb.mount` + +See the status +`sudo systemctl status mnt-usb.mount` + +Enable the `/mnt/usb` to mount at boot time +`sudo systemctl enable mnt-usb.mount` + +# Install webcam-streamer Install the `webcam-service` systemd service file `sudo cp webcam-streamer.service /etc/systemd/system/`