Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
andrey-utkin committed Nov 22, 2023
1 parent 81d6eba commit ef5fadc
Showing 1 changed file with 0 additions and 28 deletions.
28 changes: 0 additions & 28 deletions scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,6 @@ read -p "Please provide the SMTP password: " smtppassword
read -p "Please provide the SMTP port: " smtpport
#read -p "Please provide the SMTP username: " smtplogin

#read -p "Please provide the NFS mount point for the NFS export" nfsmountpoint

echo "
Expand Down Expand Up @@ -196,7 +195,6 @@ echo "installing nfs"

read -p "Please provide the IP address of the NFS server: " nfsserver
read -p "Please provide the NFS server export path: " nfsexport
#read -p "Please provide the NFS mount point for the NFS export" nfsmountpoint

echo "
Expand Down Expand Up @@ -426,32 +424,6 @@ case $add_nfs in
esac


configure_nfs() {

echo "installing nfs"

read -p "Please provide the IP address of the NFS server: " nfsserver
read -p "Please provide the NFS server export path: " nfsexport

echo "
version: '3.8'
services:
bluecherry:
volumes:
# - ./recordings:/var/lib/bluecherry/recordings
- videos:/media/bluecherry/nfs
volumes:
videos:
driver_opts:
type: "nfs"
o: "addr=$nfsserver,nolock,soft"
device: ":$nfsexport"
" > $workingpath/bluecherry-docker/docker-compose.override.yml

}
# Let the user know how to access to Bluecherry web UI

IP=$(ip route get 8.8.8.8 | sed -n '/src/{s/.*src *\([^ ]*\).*/\1/p;q}')
Expand Down

0 comments on commit ef5fadc

Please sign in to comment.