mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 23:42:51 +02:00
yweb: fix osmod webif port
Origin commit data
------------------
Branch: ni/coolstream
Commit: 67e97fecd7
Author: vanhofen <vanhofen@gmx.de>
Date: 2019-06-26 (Wed, 26 Jun 2019)
Origin message was:
------------------
- yweb: fix osmod webif port
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -301,6 +301,14 @@ case "$action" in
|
||||
printf "%s" ${_port:-8080}
|
||||
;;
|
||||
|
||||
get_osmod_webif_port)
|
||||
if [ -e %(CONFIGDIR)/oscam.conf ]; then
|
||||
_port=$(grep -m 1 -i "^[:space:]*httpport" %(CONFIGDIR)/oscam.conf | cut -d'=' -f2)
|
||||
_port=$(echo $_port | dos2unix -u)
|
||||
fi
|
||||
printf "%s" ${_port:-8888}
|
||||
;;
|
||||
|
||||
get_ncam_webif_port)
|
||||
if [ -e %(CONFIGDIR)/ncam.conf ]; then
|
||||
_port=$(grep -m 1 -i "^[:space:]*httpport" %(CONFIGDIR)/ncam.conf | cut -d'=' -f2)
|
||||
|
Reference in New Issue
Block a user