@@ -711,6 +711,7 @@ check_and_mount_tmp()
711
711
fi
712
712
713
713
# Now mount and restore any images that were there before
714
+ sudo systemctl daemon-reload 2> /dev/null
714
715
sudo mount -a
715
716
if [[ -d ${TMP_DIR} ]]; then
716
717
mv " ${TMP_DIR} " /* " ${ALLSKY_TMP} "
@@ -932,14 +933,14 @@ set_permissions()
932
933
# ## TODO: Hmmm. We need to run "sudo" to add to the group,
933
934
# ## but we don't have "sudo" permissions yet... so this will likely fail:
934
935
935
- sudo addgroup --quiet " ${ALLSKY_OWNER} " " sudo"
936
+ sudo adduser --quiet " ${ALLSKY_OWNER} " " sudo"
936
937
fi
937
938
# shellcheck disable=SC2076
938
939
if ! [[ ${G} =~ " (${WEBSERVER_GROUP} )" ]]; then
939
940
display_msg --log progress " Adding ${ALLSKY_OWNER} to ${WEBSERVER_GROUP} group."
940
- sudo addgroup --quiet " ${ALLSKY_OWNER} " " ${WEBSERVER_GROUP} "
941
+ sudo adduser --quiet " ${ALLSKY_OWNER} " " ${WEBSERVER_GROUP} "
941
942
942
- # TODO: We had a case where the login shell wasn't in the group after "addgroup "
943
+ # TODO: We had a case where the login shell wasn't in the group after "adduser "
943
944
# until the user logged out and back in.
944
945
# And this was AFTER he ran install.sh and rebooted.
945
946
# Not sure what to do about this...
@@ -2856,11 +2857,6 @@ check_new_exposure_algorithm()
2856
2857
if whiptail --title " ${TITLE} " --yesno " ${MSG} " 15 " ${WT_WIDTH} " 3>&1 1>&2 2>&3 ; then
2857
2858
display_msg --logonly info " Enabling ${FIELD} ."
2858
2859
update_json_file " .${FIELD} " " true" " ${SETTINGS_FILE} "
2859
-
2860
- MSG=" Please provide feedback on the new auto-exposure algorithm"
2861
- MSG=" ${MSG} by entering a Discussion item in GitHub."
2862
- MSG=" ${MSG} \nYou can disable it by changing 'New Exposure Algorithm' in the WebUI."
2863
- display_msg notice " ${MSG} "
2864
2860
else
2865
2861
display_msg --logonly info " User elected NOT to use ${FIELD} ."
2866
2862
fi
0 commit comments