Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Config
Commits
9b48ff47
Commit
9b48ff47
authored
Dec 18, 2017
by
Igor Pecovnik
Browse files
Add UrBackup to Softy. Open Source client/server backup system
https://www.urbackup.org/
parent
479afc65
Changes
1
Hide whitespace changes
Inline
Side-by-side
softy
View file @
9b48ff47
...
...
@@ -56,6 +56,9 @@ LIST+=( "Pi hole" "Ad blocker" "$PI_HOLE_STATUS" )
# Transmission
TRANSMISSION_STATUS
=
"$(check_if_installed transmission-daemon && echo "
on
" || echo "
off
" )"
LIST
+=
(
"Transmission"
"Torrent downloading"
"
$TRANSMISSION_STATUS
"
)
# UrBackup
URBACKUP_STATUS
=
"$(check_if_installed urbackup-server && echo "
on
" || echo "
off
" )"
LIST
+=
(
"UrBackup"
"Open Source client/server backup system"
"
$URBACKUP_STATUS
"
)
# ISPconfig
ISPCONFIG_STATUS
=
"$([[ -d /usr/local/ispconfig ]] && echo "
on
" || echo "
off
" )"
LIST
+=
(
"ISPConfig"
"SMTP mail, IMAP, POP3 & LAMP/LEMP web server"
"
$ISPCONFIG_STATUS
"
)
...
...
@@ -462,6 +465,18 @@ debconf-apt-progress -- apt-get -y install libssl-doc libssl1.0.0 zlib1g-dev tvh
}
install_urbackup (){
#------------------------------------------------------------------------------------------------------------------------------------------
# Open Source client/server backup system https://www.urbackup.org/
#------------------------------------------------------------------------------------------------------------------------------------------
PREFIX="http://hndl.urbackup.org/Server/latest/"
URL="http://hndl.urbackup.org/Server/latest/"$(wget -q $PREFIX -O - | html2text -width 120 | grep deb | awk ' { print $3 }' | grep $(dpkg --print-architecture))
wget -q $URL -O ${TEMP_DIR}/package.deb
dpkg -i ${TEMP_DIR}/package.deb
debconf-apt-progress -- apt-get -f install
}
install_transmission (){
#------------------------------------------------------------------------------------------------------------------------------------------
# transmission
...
...
@@ -1163,6 +1178,12 @@ while true; do
check_port 9091 transmission
fi
if [[ "$selection" == *UrBackup*
&&
"$URBACKUP_STATUS" != "on" ]]; then
install_urbackup
check_port 55414
fi
# reread statuses
check_status
i=$[$i+1]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment