Browse Source

install_easy : stop service before processing. install_bin: minor fix

pull/33/head
bolvan 6 years ago
parent
commit
743f9e5111
  1. 2
      install_bin.sh
  2. 10
      install_easy.sh

2
install_bin.sh

@ -22,7 +22,7 @@ ccp()
ARCHLIST="aarch64 armhf mips64r2-msb mips32r1-lsb mips32r1-msb ppc x86_64 x86"
if [ "$1" == "getarch" ]; then
if [ "$1" = "getarch" ]; then
for arch in $ARCHLIST
do
if check_dir $arch; then

10
install_easy.sh

@ -255,6 +255,15 @@ register_sysv_init_systemd()
}
}
service_stop_systemd()
{
echo \* stopping service and unregistering init script
"$SYSTEMCTL" disable zapret
"$SYSTEMCTL" stop zapret
}
download_list()
{
[ -x "$GET_LIST" ] && {
@ -287,6 +296,7 @@ install_systemd()
check_location copy_all
check_preprequisites_linux
service_stop_systemd
install_binaries
install_sysv_init
register_sysv_init_systemd

Loading…
Cancel
Save