mirror of https://github.com/sfeakes/AqualinkD.git
Update install.sh
parent
c06a0037b6
commit
94fc20191b
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
|
|
||||||
BUILD="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
BUILD="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||||
PARENT_COMMAND=$(ps -o comm= $PPID) &>/dev/null
|
PARENT_COMMAND=$(ps -o comm= $PPID 2>/dev/null)
|
||||||
|
|
||||||
SERVICE="aqualinkd"
|
SERVICE="aqualinkd"
|
||||||
|
|
||||||
|
@ -110,7 +110,7 @@ if [[ $EUID -ne 0 ]]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#if [ "$_nosystemd" -eq $FALSE ]; then
|
if [ "$_nosystemd" -eq $FALSE ]; then
|
||||||
if [[ $(mount | grep " / " | grep "(ro,") ]]; then
|
if [[ $(mount | grep " / " | grep "(ro,") ]]; then
|
||||||
if mount / -o remount,rw &>/dev/null; then
|
if mount / -o remount,rw &>/dev/null; then
|
||||||
# can mount RW.
|
# can mount RW.
|
||||||
|
@ -122,7 +122,7 @@ fi
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
#fi
|
fi
|
||||||
|
|
||||||
# Figure out what system we are on and set correct binary.
|
# 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.
|
# If we have been called from make, this is a custom build and install, so ignore check.
|
||||||
|
|
Loading…
Reference in New Issue