Skip to content

Commit

Permalink
logic?
Browse files Browse the repository at this point in the history
  • Loading branch information
loceee committed Nov 20, 2014
1 parent 330a87d commit c7333da
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions FVHelper/fvhelper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -193,11 +193,14 @@ then
"${jamfhelper}" -windowType utility -description "${msgenabled}" -icon "${dialogicon}" -button1 "Ok" -defaultButton 1
rm "${prefs}.plist"
logoutUser
elif [ "$filevaultprompt" == "2" ] && $defermode
elif [ "$filevaultprompt" == "2" ]
then
if $defermode
then
(( defercount ++ ))
defaults write "${prefs}" DeferCount -int ${defercount}
echo "user skipped FV - defercounter: ${defercount}"
(( defercount ++ ))
defaults write "${prefs}" DeferCount -int ${defercount}
echo "user skipped FV - defercounter: ${defercount}"
fi
else
echo "user skipped FV"
fi
Expand Down

0 comments on commit c7333da

Please sign in to comment.