#!/bin/sh # BASEDIR=`dirname $0` rm -f $BASEDIR/messages.* /usr/bin/python3 $BASEDIR/smarthome.py 2> $BASEDIR/messages.err --display :0 &