You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
R_SETTINGS=`yad --form --class="Unity-Reboot" --name="Unity-Reboot" --field="Don't ask for password on restart:CHK" "$current_noaskforpassword" --text=" Warning - enabling this will allow /usr/bin/grub-editenv to be executed by any user: " --button="gtk-cancel:1" --button="Apply:0"`
ret=$?
if [[ $ret -eq 0 ]]; then
R_password=`echo "$R_SETTINGS" | cut -d '|' -f1`
sed -i "s/no-password-prompt = .*/no-password-prompt = $R_password/g" ~/.config/unity-reboot/settings