Sorry for assuming it was a typo. I don't have great shellscript knowledge, but if I had payed attention to the code, I shoud have guessed it was not a function, but a case statement. Interestingly enough, it did solve the warning dialog problem. Anyway, I changed the line to
default|"")
and things still work fine. No more annoying warning dialogs when logging in.
Sorry for assuming it was a typo. I don't have great shellscript knowledge, but if I had payed attention to the code, I shoud have guessed it was not a function, but a case statement. Interestingly enough, it did solve the warning dialog problem. Anyway, I changed the line to
default|"")
and things still work fine. No more annoying warning dialogs when logging in.