torios-dev team mailing list archive
-
torios-dev team
-
Mailing list archive
-
Message #00190
Re: [Torios] Reboot Dialog Was:(Re: Plymouth Theme)
Hi Israel and Jack,
Please tell me with details, what I should look for. I don't understand
what is the problem.
Best regards
Nio
Den 2015-05-11 02:49, Israel skrev:
>
>
> Hi Jack,
> Not too sure why there is an error. I have run shellcheck against it
> multiple times.
> I have also tested it here.
>
> @Nio, do you think your bashrc could pose an issue to this?
> AFAIK 'end' command is something I have not ever used. Also, using
> if [ #whatever# ]
> then
> # something#
> else
> # something#
> *fi
>
> fi *is the 'end' of the statements
>
> Did the dialog open at all? Was this when you clicked 'Yes'?
> I am not using any special bash builtins that are for a version greater
> than precise.
>
> I will try to test this tomorrow on my ToriOS machine to see what it does.
>
>
> On 05/10/2015 04:53 PM, Cinque Port Computers wrote:
>> Hi Israel,
>>
>> Still get an error when executing the new torios-reboot file...
>>
>> JackT.
>>
>> PS: I tried 'fish' as a different shell but same results as /bin/bash.
>>
>> ------------------------------------------------------------------------
>> Date: Sun, 10 May 2015 13:09:51 -0500
>> From: israel@xxxxxxxxxx
>> To: jackdtrice@xxxxxxxxxxx
>> CC: torios-dev@xxxxxxxxxxxxxxxxxxx; jackt@xxxxxxxxxx
>> Subject: Re: [Torios-dev] [Torios] Reboot Dialog Was:(Re: Plymouth Theme)
>>
>> Hi Jack,
>> This is very odd... not sure about the error message, I have run
>> shellcheck and get no errors, and I also have tested this (in Utopic)
>> not sure why there is an error, I will test on my ToriOS machine and
>> see what is going on.
>>
>> Here is another version that will use Zenity if it is installed
>> instead of gxmessage or xmessage... and if none of those exist it will
>> just simply restart.
>>
>> It also checks for dbus and if it doesn't exist it uses 'sudo reboot'
>>
>>
>> On 05/10/2015 10:02 AM, Cinque Port Computers wrote:
>>
>> Hi Israel,
>>
>> When I ran that script there was an error (see pic)...and the
>> revised box popped up but seemed to have no effect on changing
>> what happens at 'Restart Computer' time...same box as previous
>> still shows top left showing the 'gxmessage'.
>>
>> JackT.
>>
>> ialog Was:(Re: Plymouth Theme)
>>
>> On 05/10/2015 07:30 AM, Israel wrote:
>> > ...
>> > ...
>> >
>> Hi Jack,
>> Could you test this script?
>> make it executable and run it
>> It is just a modified version of the reboot dialog.
>>
>> Please test and see if this works better for you!
>>
>> --
>> Regards
>>
>> -Israel
>> ToriOS Team
Follow ups
References