← Back to team overview

torios-dev team mailing list archive

Re: [Torios] Reboot Dialog Was:(Re: Plymouth Theme)

 

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.wiklund@xxxxxxxxx
>> To: israel@xxxxxxxxxx; torios-dev@xxxxxxxxxxxxxxxxxxx
>> 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
>>



Follow ups

References