This repository has been archived on 2024-07-15. You can view files and clone it, but cannot push or open issues or pull requests.
hedera/main/hedera.sh.in

27 lines
332 B
Bash
Raw Normal View History

2013-10-11 23:07:35 +00:00
#!/bin/bash
2013-10-14 12:08:06 +00:00
UPDATE=1
while getopts ":u" OPTION
do
case $OPTION in
u)
UPDATE=0
;;
\?|:)
echo "Usage: hedera [-u]"
2013-10-14 12:08:06 +00:00
exit 1
;;
esac
done
if [ "$UPDATE" -eq "1" -a -x @bindir@/vn-updater-gui ]
2013-10-11 23:07:35 +00:00
then
echo "Running updater..."
@bindir@/vn-updater-gui
fi
export LIBMYSQL_ENABLE_CLEARTEXT_PLUGIN=1
2013-10-14 12:08:06 +00:00
exec hedera-bin