File indexing completed on 2024-06-02 05:55:43

0001 #!/bin/sh
0002 
0003 #If startup command is defined use it
0004 if ! test -z "$MYCROFT_START_CMD"; then
0005         $MYCROFT_START_CMD
0006 elif [ -x /opt/mycroft-core/start-mycroft.sh ]; then
0007         cd /opt/mycroft-core || exit
0008         ./start-mycroft.sh all
0009 else
0010         # Use default git install location
0011         cd "${MYCROFT_CORE_DIR}" || exit
0012         ./start-mycroft.sh all
0013 fi
0014