OScam scripts section WebIf
- x751lk
- Thread is marked as Resolved.
-
-
I also need to know that
-
GO in Config Webif there you can define the folder to control if there ar script in bash or java ,
other script i dont know if there work .
-
Hi.
These scripts, on the Linux machine, should logically be Shell scripts - i.e. Bash / Sh / Ash / etc. - depending on which command interpreter your Linux contains.
Alternatively, it could be a Java script, but I don't know how this Java code is implemented and executed. It's probably running inside the OscamWebif interface ... but I don't know because I don't use Java scripts.
After executing the shell-script, if any standard output has been generated (from commands such as "cat" or "echo" without output redirection), this will be displayed in the lower blank form window.
You set the directory for these scripts in the "oscam.conf" file, for example as follows:
Of course, these scripts must also have an execution attribute assigned to them:
chmod a+x /path/filename
(or set file attributes to 755 using an FTP client)
More info here:
https://wiki.streamboard.tv/wi…fig/oscam.conf#httpscript
https://wiki.streamboard.tv/wi…ig/oscam.conf#httpjscript
Since it is not possible to run any script, a running shell-script can also help. I created my shell-script, for the TPL conversion oscam-pikon, which in turn represents a Python script:
OSCam Support Forum
Configs, discussion, downloads and guides for OSCam Softcam.
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!