22F5400 no telnet no VUSB and no remote working.
Re: 22F5400 no telnet no VUSB and no remote working.
script is done with notepad ++.
attached.
attached.
AVOID TO PUBLISH AND DISCLOSE SAMYGO PROJECTS ON OTHER FORUM.
Re: 22F5400 no telnet no VUSB and no remote working.
Now place it inside /mnt/etc/init.d/ (overwrite your old script). Do sync.
chmod it
and... maybe try to run with debug enabled:
Give here the output...
p.s.s.. just came to my mind... Would be better to rename it to something like 01_01_ (or similar -need to think what number is better) to delete previuous log and leave logs of current TV run? At least for now check it "as is".
chmod it
Code: Select all
chmod 755 /mnt/etc/init.d/*.init
Code: Select all
sh -x /mnt/etc/init.d/9999_9999_deleteLogs.init start
p.s.s.. just came to my mind... Would be better to rename it to something like 01_01_ (or similar -need to think what number is better) to delete previuous log and leave logs of current TV run? At least for now check it "as is".
You do not have the required permissions to view the files attached to this post.
LE40B653T5W,UE40D6750,UE65Q8C
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series. rooting K series, exeDSP/exeTV patches[C/D/E/F/H]
DO NOT EVER INSTALL FIRMWARE UPGRADE
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series. rooting K series, exeDSP/exeTV patches[C/D/E/F/H]
DO NOT EVER INSTALL FIRMWARE UPGRADE
Re: 22F5400 no telnet no VUSB and no remote working.
Code: Select all
VDLinux#> sh -x /mnt/etc/init.d/9999_9999_deleteLogs.init start
+ . /dtv/SGO.env
'mnt/etc/init.d/9999_9999_deleteLogs.init: .: line 1: can't open '/dtv/SGO.env
VDLinux#>
AVOID TO PUBLISH AND DISCLOSE SAMYGO PROJECTS ON OTHER FORUM.
Re: 22F5400 no telnet no VUSB and no remote working.
Remove or comment out this line from script and try again
Code: Select all
# . /dtv/SGO.env
LE40B653T5W,UE40D6750,UE65Q8C
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series. rooting K series, exeDSP/exeTV patches[C/D/E/F/H]
DO NOT EVER INSTALL FIRMWARE UPGRADE
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series. rooting K series, exeDSP/exeTV patches[C/D/E/F/H]
DO NOT EVER INSTALL FIRMWARE UPGRADE
Re: 22F5400 no telnet no VUSB and no remote working.
Code: Select all
VDLinux#> sh -x /mnt/etc/init.d/99_99_deleteLogs.init start
+
: not foundit.d/99_99_deleteLogs.init: line 1:
/mnt/etc/init.d/99_99_deleteLogs.init: line 8: syntax error: unexpected word (expecting "in")
VDLinux#>
AVOID TO PUBLISH AND DISCLOSE SAMYGO PROJECTS ON OTHER FORUM.
Re: 22F5400 no telnet no VUSB and no remote working.
very and very weird errors! Indeed must think how to do some work arround...:
replace the loop (everything between Start) and ;; to :
replace the loop (everything between Start) and ;; to :
Code: Select all
maxsize=120000 # adjust filesize here
file = "/mnt/samygo.log"
actualsize=$(wc -c <"$file")
if [ $actualsize -ge $maxsize ]; then
rm -f $file
fi
file = "/mnt/sam.log"
actualsize=$(wc -c <"$file")
if [ $actualsize -ge $maxsize ]; then
rm -f $file
fi
LE40B653T5W,UE40D6750,UE65Q8C
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series. rooting K series, exeDSP/exeTV patches[C/D/E/F/H]
DO NOT EVER INSTALL FIRMWARE UPGRADE
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series. rooting K series, exeDSP/exeTV patches[C/D/E/F/H]
DO NOT EVER INSTALL FIRMWARE UPGRADE
Re: 22F5400 no telnet no VUSB and no remote working.
Really looks like bad linefeeds imho, "using Notepad++" is not enough, you also have to set linefeeds to unix format into menumiazza wrote:Code: Select all
.: line 1: can't open '/dtv/SGO.env
I do NOT receive any PM. Please use forum.
Re: 22F5400 no telnet no VUSB and no remote working.
no need for sgo.env, we dont use any global variables here. We just delete two certain files.
However, i`m in doubts where is problem with "in" (script worked on my "test" setup w/o any problem).
However, i`m in doubts where is problem with "in" (script worked on my "test" setup w/o any problem).
LE40B653T5W,UE40D6750,UE65Q8C
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series. rooting K series, exeDSP/exeTV patches[C/D/E/F/H]
DO NOT EVER INSTALL FIRMWARE UPGRADE
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series. rooting K series, exeDSP/exeTV patches[C/D/E/F/H]
DO NOT EVER INSTALL FIRMWARE UPGRADE
Re: 22F5400 no telnet no VUSB and no remote working.
The script now look like that:
The error is:
Code: Select all
#!/bin/sh
#
# ? Copyright 1996-2016, SamyGO
#
#
# . /dtv/SGO.env
case $1 in
start)
maxsize=120000 # adjust filesize here
file = "/mnt/samygo.log"
actualsize=$(wc -c <"$file")
if [ $actualsize -ge $maxsize ]; then
rm -f $file
fi
file = "/mnt/sam.log"
actualsize=$(wc -c <"$file")
if [ $actualsize -ge $maxsize ]; then
rm -f $file
fi
;;
*)
echo "Usage: $0 {start}" 1>&2
exit 0
;;
esac
Code: Select all
VDLinux#> sh -x /mnt/etc/init.d/99_99_deleteLogs.init start
+
: not foundit.d/99_99_deleteLogs.init: line 1:
/mnt/etc/init.d/99_99_deleteLogs.init: line 8: syntax error: unexpected word (expecting "in")
VDLinux#>
AVOID TO PUBLISH AND DISCLOSE SAMYGO PROJECTS ON OTHER FORUM.
Re: 22F5400 no telnet no VUSB and no remote working.
And other scripts are ok? weird. It complains about basic structure of init script. Don`t get where is the problem.
LE40B653T5W,UE40D6750,UE65Q8C
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series. rooting K series, exeDSP/exeTV patches[C/D/E/F/H]
DO NOT EVER INSTALL FIRMWARE UPGRADE
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series. rooting K series, exeDSP/exeTV patches[C/D/E/F/H]
DO NOT EVER INSTALL FIRMWARE UPGRADE