Jump to content


Photo

/var/etc/init not working

DM7020

  • Please log in to reply
2 replies to this topic

#1 dumb

  • Senior Member
  • 62 posts

0
Neutral

Posted 15 April 2010 - 16:24

I have something like this in /var/etc/init

#!/bin/sh

/path/to/script

file has right permissions (775)

problem is, script isn't run at startup sequence

even if I do in /var/etc/init


#!/bin/sh

command (f.e. echo test > /tmp/test)

command isn't run...

image - PLI Jade3 on DM7020

What's the problem ?

Re: /var/etc/init not working #2 dAF2000

  • PLi® Ex-Leden
  • 14,151 posts

+52
Good

Posted 16 April 2010 - 17:34

/var/etc/init doesn't work on the DM7020 (and some other models). You should place your script in one of the /etc/init.d/rcX.d (X is a number from 0 to 6) directories.
I never tried it myself, so can't give you the right directory now.
Many answers to your question can be found in our wiki: http://openpli.org/wiki

Re: /var/etc/init not working #3 dumb

  • Senior Member
  • 62 posts

0
Neutral

Posted 17 April 2010 - 07:03

It's too early, I need to run script after enigma mounts shares



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users