mirror of https://github.com/sfeakes/AqualinkD.git
Update install.sh
parent
d182784ae2
commit
dd7161ef08
|
@ -110,6 +110,7 @@ if [[ $EUID -ne 0 ]]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
if [ "$_nosystemd" -eq $FALSE ]; then
|
||||
if [[ $(mount | grep " / " | grep "(ro,") ]]; then
|
||||
if mount / -o remount,rw &>/dev/null; then
|
||||
# can mount RW.
|
||||
|
@ -121,6 +122,7 @@ if [[ $(mount | grep " / " | grep "(ro,") ]]; then
|
|||
exit 1
|
||||
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.
|
||||
|
|
Loading…
Reference in New Issue