mirror of
https://github.com/deajan/osync
synced 2024-11-11 07:10:40 +00:00
Quick add to the install script
This commit is contained in:
parent
5e6396b5d4
commit
596c3ef9e8
10
install.sh
10
install.sh
@ -1,9 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
SCRIPT_BUILD=2015072201
|
||||
SCRIPT_BUILD=2015090801
|
||||
|
||||
## Osync daemon install script
|
||||
## Tested on RHEL / CentOS 6 & 7
|
||||
## Tested on RHEL / CentOS 6 & 7 and Mint 17
|
||||
## Please adapt this to fit your distro needs
|
||||
|
||||
if [ "$(whoami)" != "root" ]
|
||||
@ -12,7 +12,11 @@ then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
mkdir /etc/osync
|
||||
if [ ! -d /etc/osync ]
|
||||
then
|
||||
mkdir /etc/osync
|
||||
fi
|
||||
|
||||
cp ./sync.conf /etc/osync/sync.conf.example
|
||||
cp ./exclude.list.example /etc/osync
|
||||
cp ./osync.sh /usr/local/bin
|
||||
|
Loading…
Reference in New Issue
Block a user