Jump to content


Photo

AutoReboot ET8000


  • Please log in to reply
16 replies to this topic

#1 Rob van der Does

  • Senior Member
  • 7,766 posts

+184
Excellent

Posted 20 January 2017 - 07:01

@Dimitrij:
would you please be so kind to move the setting of this plugin to /etc/enigma2/settings? That would ensure the proper restore after a flash.

As it is now I always forget to make the setting after flashing the box, with the annoying result that the box doesn't work (properly).



Re: AutoReboot ET8000 #2 Dimitrij

  • PLi® Core member
  • 9,994 posts

+338
Excellent

Posted 20 January 2017 - 12:13

This plugin (folder), just add it to the creation of backup.


GigaBlue UHD Quad 4K /Lunix3-4K/Solo 4K


Re: AutoReboot ET8000 #3 Rob van der Does

  • Senior Member
  • 7,766 posts

+184
Excellent

Posted 20 January 2017 - 12:39

I can't find any settings in there either.



Re: AutoReboot ET8000 #4 Dimitrij

  • PLi® Core member
  • 9,994 posts

+338
Excellent

Posted 20 January 2017 - 13:32

I can't find any settings in there either.

standard backup --> key info --> select folder --> /usr/lib/enigma2/python/Plugins/SystemPlugins/Autoreboot/


GigaBlue UHD Quad 4K /Lunix3-4K/Solo 4K


Re: AutoReboot ET8000 #5 Erik Slagter

  • PLi® Core member
  • 46,951 posts

+541
Excellent

Posted 20 January 2017 - 13:53

Are you writing files/data into the same folders/file that make the plugin/package???


* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: AutoReboot ET8000 #6 Rob van der Does

  • Senior Member
  • 7,766 posts

+184
Excellent

Posted 20 January 2017 - 14:04

 

I can't find any settings in there either.

standard backup --> key info --> select folder --> /usr/lib/enigma2/python/Plugins/SystemPlugins/Autoreboot/

 

Yes, I know how to add the folder to the backup. But:

1- There is no settings file in there either.

2- This way I should de-install the plugin, FTP the plugin folder to the box, and only then crate the backup. Cause when it's installed it would be in the plugin restore as well as in the settings restore.

 

Are you writing files/data into the same folders/file that make the plugin/package???

By the looks of it he writes user data directly into the plugin.pyo. That's the only one I see changing on a changed setting.

 

 

So please Dimitrij: could you use /etc/enigma2/settings as location for the user data?



Re: AutoReboot ET8000 #7 Rob van der Does

  • Senior Member
  • 7,766 posts

+184
Excellent

Posted 20 January 2017 - 14:22

By the looks of it he writes user data directly into the plugin.pyo. That's the only one I see changing on a changed setting.

I have to correct that: even there the data is not being written (at least the time stamp doesn't change). So I have absolutely no idea which file actually holds the Enable/Disable status.



Re: AutoReboot ET8000 #8 Dimitrij

  • PLi® Core member
  • 9,994 posts

+338
Excellent

Posted 20 January 2017 - 14:36

		if fileExists("/etc/init.d/driver-et8000-fix"):
			list.append((_("Disable auto reboot"), "stop"))
                                 +
update-rc.d driver-et8000-fix start 01 3 . stop 99 6 .
		else:
			list.append((_("Enable auto reboot"), "start"))

Edited by Dimitrij, 20 January 2017 - 14:47.

GigaBlue UHD Quad 4K /Lunix3-4K/Solo 4K


Re: AutoReboot ET8000 #9 Rob van der Does

  • Senior Member
  • 7,766 posts

+184
Excellent

Posted 20 January 2017 - 14:47

OK, clear, so how could a settings backup of the plugin folder help then?

Should I add "/etc/init.d/driver-et8000-fix" to the settings backup?



Re: AutoReboot ET8000 #10 Dimitrij

  • PLi® Core member
  • 9,994 posts

+338
Excellent

Posted 20 January 2017 - 14:50

OK, clear, so how could a settings backup of the plugin folder help then?

Should I add "/etc/init.d/driver-et8000-fix" to the settings backup?

 

Enabled = /etc/init.d/driver-et8000-fix + shell command 'update-rc.d driver-et8000-fix start 01 3 . stop 99 6 .'

This should be done manually via the plugin menu.


Edited by Dimitrij, 20 January 2017 - 14:51.

GigaBlue UHD Quad 4K /Lunix3-4K/Solo 4K


Re: AutoReboot ET8000 #11 Rob van der Does

  • Senior Member
  • 7,766 posts

+184
Excellent

Posted 20 January 2017 - 14:59

In other words: no option to restore the user setting 'enabled'?



Re: AutoReboot ET8000 #12 Erik Slagter

  • PLi® Core member
  • 46,951 posts

+541
Excellent

Posted 20 January 2017 - 15:12

Apparently it is enabled and disable using the SysV init script system. You'll find a symlink starting with S[0-9][0-9]* in /etc/rc3.d to the respective file in /etc/init.d


Edited by Erik Slagter, 20 January 2017 - 15:12.

* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: AutoReboot ET8000 #13 Rob van der Does

  • Senior Member
  • 7,766 posts

+184
Excellent

Posted 20 January 2017 - 15:39

OK, then let me rephrase my question:

@Dimitrij:

would you be willing to change the default from 'disabled' to 'enabled'?

After all one may expect that only people who experience this specific issue will install the plugin.



Re: AutoReboot ET8000 #14 Dimitrij

  • PLi® Core member
  • 9,994 posts

+338
Excellent

Posted 20 January 2017 - 17:06

Sorry,but...

In another, I do not want to do.

What could be simpler?

Install  and  enabled this plugin .

This all.


Edited by Dimitrij, 20 January 2017 - 17:09.

GigaBlue UHD Quad 4K /Lunix3-4K/Solo 4K


Re: AutoReboot ET8000 #15 Rob van der Does

  • Senior Member
  • 7,766 posts

+184
Excellent

Posted 20 January 2017 - 17:10

Simpler would be to just install the plugin.

As I said: on restoring (after flashing the box) I tend to forget to enable the plugin, with the rather annoying result that the box is unusable.

Not a big deal, just annoying.



Re: AutoReboot ET8000 #16 Dimitrij

  • PLi® Core member
  • 9,994 posts

+338
Excellent

Posted 20 January 2017 - 18:13

ok.

version 1.3

-enabled as default

 

not tested


GigaBlue UHD Quad 4K /Lunix3-4K/Solo 4K


Re: AutoReboot ET8000 #17 Rob van der Does

  • Senior Member
  • 7,766 posts

+184
Excellent

Posted 20 January 2017 - 19:13

Thanks very much Dimitrij!


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users