Hi Jack, The if statement's syntax is different in sh and bash. This script is a bash script, and 'wants to' be run by bash, so either
./torios-reboot or bash ./torios-reboot Please try that, it works for me :-) Best regards Nio Den 2015-05-11 11:09, Cinque Port Computers skrev: > Hi Israel, Nio, > > I tried the latest torios-reboot also with Nio´s suggested edit but > still get this error... > > > > > > > > jackT. > > >> Date: Mon, 11 May 2015 08:45:20 +0200 >> From: nio.wikl...@gmail.com >> To: isr...@torios.org; torios-dev@lists.launchpad.net >> Subject: Re: [Torios-dev] [Torios] Reboot Dialog Was:(Re: Plymouth Theme) >> >> Hi again Israel, >> >> I should also mention, that I have never messed with dbus - but I think >> the error is the quotes in line 14: >> >> so please change >> >> "${SHUTDOWN}" >> to >> ${SHUTDOWN} >> >> Best regards >> Nio >> -- Mailing list: https://launchpad.net/~torios-dev Post to : torios-dev@lists.launchpad.net Unsubscribe : https://launchpad.net/~torios-dev More help : https://help.launchpad.net/ListHelp