I will change it and try it.If you use this, you have to have .sh then end of file.
Code:#!/bin/sh sh /jffs/scripts/malware-filter.sh
Thanks again!
I will change it and try it.If you use this, you have to have .sh then end of file.
Code:#!/bin/sh sh /jffs/scripts/malware-filter.sh
I got a response "Can't open /jffs/scripts/malware-filter.sh"I will change it and try it.
Thanks again!
I got it!If you use this, you have to have .sh then end of file.
Code:#!/bin/sh sh /jffs/scripts/malware-filter.sh
Glad you get it to work.I got it!
I just made a copy of malware-filter and added the .sh.
Sorry for my stupidity!
I still have a problem.Glad you get it to work.
I have firewall-start under /jffs.You have it under: /jffs/scripts/firewall-start
And enabled: Enable JFFS custom scripts and configs?
From command line do, and test again: dos2unix /jffs/scripts/firewall-startCode:#!/bin/sh sh /jffs/scripts/malware-filter.sh
yesI have firewall-start under /jffs.
Should it be in /jffs/scripts?
You have it under: /jffs/scripts/firewall-start
And enabled: Enable JFFS custom scripts and configs?
Ok! I moved it. I'll test it and let you know.
Not true.Beware that there is an Exit 0 in the cru script..
So if you call it from another script, say services-start , it will close THAT script too, unless you take precautions, like starting it with an sh...
YOU ARE RIGHT! I tried a test case and found out that the exit does not cause the termination of the caller.. I suspect if "source" or something else is used then it might kill the caller..Not true.
We use essential cookies to make this site work, and optional cookies to enhance your experience.