# non-commercial use provided that this notice appears in
# all copies of the file. There is no warranty, either
# expressed or implied, supplied with this code.
#
IsSuperuser() {
case `id` in
"uid=0("* ) return 0 ;;
* ) return 1 ;;
esac
}