27 lines
328 B
Bash
27 lines
328 B
Bash
#!/bin/bash
|
|
|
|
UPDATE=1
|
|
|
|
while getopts ":u" OPTION
|
|
do
|
|
case $OPTION in
|
|
u)
|
|
UPDATE=0
|
|
;;
|
|
\?|:)
|
|
echo "Usage: $0 [-u]"
|
|
exit 1
|
|
;;
|
|
esac
|
|
done
|
|
|
|
if [ "$UPDATE" -eq "1" -a -x @bindir@/vn-updater-gui ]
|
|
then
|
|
echo "Running updater..."
|
|
@bindir@/vn-updater-gui
|
|
fi
|
|
|
|
export LIBMYSQL_ENABLE_CLEARTEXT_PLUGIN=1
|
|
|
|
exec hedera-bin
|