Skip to content

Commit

Permalink
Merge pull request #187 from KanoComputing/dashboard-no-confirm
Browse files Browse the repository at this point in the history
Dashboard: Don't ask for confirmation to return
  • Loading branch information
tombettany authored Jun 13, 2016
2 parents 42f0b92 + 2dcdb08 commit 83520ff
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions bin/kano-dashboard-confirm
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,6 @@ if [ "$is_rpi2_or_above" != "True" ]; then

exit 1
else
# We are good to go, ask confirmation and switch to Dashboard
kano-dialog title="Dashboard Mode" \
description="Do you want to return to the Dashboard now?" \
buttons=Yes:orange:1,Later:orange:2

if [ "$?" == "1" ]; then
# Yes, let's do it
kano-dashboard-uimode dashboard
exit 0
fi

exit 1
kano-dashboard-uimode dashboard
exit 0
fi

0 comments on commit 83520ff

Please sign in to comment.