Sun Nov 17, 2013 3:40 pm
exit_dialog () {
$DIALOG --question --title="$TITLE error" --window-icon=error \
--${BUTTON0}="Continue"${BUTTON0NUM} --${BUTTON1}="Exit"${BUTTON1NUM} \
--text="Error detected: $error_message
\nSee $error_log for details. Press \"Continue\" to proceed anyway"
if [[ $? -eq 0 ]] ; then
cleanup
run_task
else
cleanup
exit 1
fi
}
Sun Nov 17, 2013 3:58 pm
persist_dev=$(echo $selection | tr -d \|)
persist_label=$(/sbin/blkid -c /dev/null -s LABEL "$persist_dev" | awk -F"\"" '{ print $2 }')
if [[ -f "$tempfile2" ]] ; then
rm "$tempfile2"
fi
if [[ $persist_label = persistence ]] ; then
unset persist_label
fi
if [[ -n "$persist_label" ]] ; then
echo "$persist_label" > "$tempfile2"
username=$(cat /tmp/r2u_user)
chown "$username" "$tempfile2"
fi
Sun Nov 17, 2013 4:14 pm
Sun Nov 17, 2013 6:34 pm
Sun Nov 17, 2013 8:52 pm
Sun Nov 17, 2013 11:13 pm
Mon Nov 18, 2013 3:05 pm
Fri Nov 22, 2013 1:48 am
Fri Nov 22, 2013 3:17 am
./patch-initrd-gui -d
/usr/bin/patch-initrd-gui
Fri Nov 22, 2013 12:48 pm
/usr/bin/refracta2usb: line 21: /var/log/refracta2usb_error.log: Permission denied
/usr/bin/patch-initrd-gui: line 8: /var/log/errors-patch-initrd: Permission denied