Update version and add uninstall.sh script

pull/44/head
Wind4 6 years ago
parent c5f482913f
commit a1f84aa354

@ -32,10 +32,11 @@ if [ ! -f '/usr/bin/wget' ]; then
fi
TMP_DIR=`mktemp -d`
GIT_TAGS=svn1112
cd ${TMP_DIR}
echo 'Downloading vlmcsd binaries ...'
wget -q https://github.com/Wind4/vlmcsd/releases/download/svn1108/binaries.tar.gz -O binaries.tar.gz
wget -q https://github.com/Wind4/vlmcsd/releases/download/${GIT_TAGS}/binaries.tar.gz -O binaries.tar.gz
check_result $? 'Download vlmcsd failed.'
echo 'Downloading startup script ...'

@ -38,10 +38,11 @@ if [ ! -f '/sbin/service' ]; then
fi
TMP_DIR=`mktemp -d`
GIT_TAG=svn1112
cd ${TMP_DIR}
echo 'Downloading vlmcsd ...'
wget -q https://github.com/Wind4/vlmcsd/releases/download/svn1108/binaries.tar.gz -O binaries.tar.gz
wget -q https://github.com/Wind4/vlmcsd/releases/download/${GIT_TAG}/binaries.tar.gz -O binaries.tar.gz
check_result $? 'Download vlmcsd failed.'
echo 'Downloading startup script ...'

@ -0,0 +1,15 @@
#!/bin/bash
#
# Install a VLMCSD service for CentOS/RedHat
#
# Author: Wind4 (puxiaping@gmail.com)
# Date: October 28, 2018
#
echo 'Remove the /etc/init.d/vlmcsd'
rm -f /etc/init.d/vlmcsd
echo 'Remove the /usr/bin/vlmcsd'
rm -f /usr/bin/vlmcsd
echo 'Uninstall successfully.'
Loading…
Cancel
Save