Skip to content
This repository was archived by the owner on Feb 8, 2021. It is now read-only.

Commit ed44cf8

Browse files
committed
[master] fix hyperd service in linux mint
1 parent ec58524 commit ed44cf8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

hyper-bootstrap.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -373,8 +373,9 @@ install_hyperd_service() {
373373
local SRC_INIT_FILE=""
374374
local TGT_INIT_FILE=""
375375
if [ "${INIT_SYSTEM}" == "sysvinit" ];then
376-
if [ "${LSB_DISTRO}" == "debian" -a "${LSB_CODE}" == "wheezy" ];
377-
then
376+
if [ "${LSB_DISTRO}" == "debian" -a "${LSB_CODE}" == "wheezy" ] ; then
377+
SRC_INIT_FILE="${BOOTSTRAP_DIR}/service/init.d/hyperd.ubuntu"
378+
elif [ "${LSB_DISTRO}" == "linuxmint" ] ; then
378379
SRC_INIT_FILE="${BOOTSTRAP_DIR}/service/init.d/hyperd.ubuntu"
379380
else
380381
SRC_INIT_FILE="${BOOTSTRAP_DIR}/service/init.d/hyperd.${LSB_DISTRO}"

0 commit comments

Comments
 (0)