Page 2 of 2
Re: How run an ownmade script at boot
Posted: Sun Sep 20, 2015 3:40 pm
by 3iOnDo
zoelechat wrote:Are you sure of permissions? (the ones of /mnt/etc/init.d/99_99_clean.init I mean)
755 is it ok ?
just for understand
case $1 in
start)
/mnt/opt/privateer/usr/bin/oscam/clean
or
case $1 in
start)
. /mnt/opt/privateer/usr/bin/oscam/clean
because i don't understand the difference
Re: How run an ownmade script at boot
Posted: Sun Sep 20, 2015 3:53 pm
by zoelechat
Without dot (dot=alias source)
Re: How run an ownmade script at boot
Posted: Sun Sep 20, 2015 4:04 pm
by 3iOnDo
Got it
i'm a stupid dumb*sshole
reuploading via ftp it gave 644 permissions
so that's why it didn't exec.
THANK YOU FOR YOUR TIME ZOE.
And sorry for my dumbness
Re: How run an ownmade script at boot
Posted: Sun Sep 20, 2015 4:09 pm
by zoelechat
3iOnDo wrote:reuploading via ftp it gave 644 permissions
Shouldn't happen in case you overwrite though.
3iOnDo wrote:THANK YOU FOR YOUR TIME ZOE.
And sorry for my dumbness
np
