diff --git a/setup/generic/install.sh b/setup/generic/install.sh index df3ef8a8..c4495373 100644 --- a/setup/generic/install.sh +++ b/setup/generic/install.sh @@ -4,6 +4,12 @@ # the main Raspberry Pi centric install scripts expect. # +if [[ $EUID -ne 0 ]] +then + echo "STOP: Run sudo -i." + exit 1 +fi + function error_exit { echo "STOP: $*" exit 1