diff --git a/release/install.sh b/release/install.sh index 0a8c272..9e261e8 100755 --- a/release/install.sh +++ b/release/install.sh @@ -5,7 +5,7 @@ BUILD="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" -PARENT_COMMAND=$(ps -o comm= $PPID) +PARENT_COMMAND=$(ps -o comm= $PPID) &>/dev/null SERVICE="aqualinkd" @@ -110,7 +110,7 @@ if [[ $EUID -ne 0 ]]; then exit 1 fi -if [ "$_nosystemd" -eq $FALSE ]; then +#if [ "$_nosystemd" -eq $FALSE ]; then if [[ $(mount | grep " / " | grep "(ro,") ]]; then if mount / -o remount,rw &>/dev/null; then # can mount RW. @@ -122,7 +122,7 @@ if [ "$_nosystemd" -eq $FALSE ]; then exit 1 fi fi -fi +#fi # Figure out what system we are on and set correct binary. # If we have been called from make, this is a custom build and install, so ignore check.