Виж само едно мнение
  #27  
Стар 25-10-2014
Чък Норис Чък Норис не е на линия
Модератор
 

Дата на присъединяване: Dec 2008
Местоположение: Пловдив
Мнения: 11,950
Благодари: 984
Получил благодарност:
7,327 пъти в 3,557 поста
Сваляния: 89
Ъплоуди: 24
По подразбиране

Колко по-лесно щеше да бъде да стартираш оскама с oscam -h и да ти излезе цялата налична инфомация:

HTML код:
root@root:~#/usr/bin/oscam -h
  ___  ____   ___
 / _ \/ ___| / __|__ _ _ __ ___
| | | \___ \| |  / _` | '_ ` _ \
| |_| |___) | |_| (_| | | | | | |
 \___/|____/ \___\__,_|_| |_| |_|

OSCam cardserver v1.20-unstable_svn, build r9917 (x86_64-linux-gnu)
Copyright (C) 2009-2013 OSCam developers.
This program is distributed under GPLv3.
OSCam is based on Streamboard mp-cardserver v0.9d written by dukat
Visit http://www.streamboard.tv/oscam/ for more details.

 ConfigDir  : /usr/local/etc

 Usage: oscam [parameters]

 Directories:
 -c, --config-dir <dir>  | Read configuration files from <dir>.
                         . Default: /usr/local/etc
 -t, --temp-dir <dir>    | Set temporary directory to <dir>.
                         . Default: /tmp/.oscam

 Startup:
 -b, --daemon            | Start in the background as daemon.
 -B, --pidfile <pidfile> | Create pidfile when starting.
 -r, --restart <level>   | Set restart level:
                         .   0 - Restart disabled (exit on restart request).
                         .   1 - WebIf restart is active (default).
                         .   2 - Like 1, but also restart on segfaults.
 -w, --wait <secs>       | Set how much seconds to wait at startup for the
                         . system clock to be set correctly. Default: 60

 Logging:
 -I, --syslog-ident <ident> | Set syslog ident. Default: oscam
 -S, --show-sensitive    | Do not filter sensitive info (card serials, boxids)
                         . from the logs.
 -d, --debug <level>     | Set debug level mask used for logging:
                         .     0 - No extra debugging (default).
                         .     1 - Detailed error messages.
                         .     2 - ATR parsing info, ECM, EMM and CW dumps.
                         .     4 - Traffic from/to the reader.
                         .     8 - Traffic from/to the clients.
                         .    16 - Traffic to the reader-device on IFD layer.
                         .    32 - Traffic to the reader-device on I/O layer.
                         .    64 - EMM logging.
                         .   128 - DVBAPI logging.
                         .   256 - Loadbalancer logging.
                         .   512 - CACHEEX logging.
                         .  1024 - Client ECM logging.
                         . 65535 - Debug all.

 Settings:
 -p, --pending-ecm <num> | Set the maximum number of pending ECM packets.
                         . Default: 32 Max: 4096
 -u, --utf8              | Enable WebIf support for UTF-8 charset.

 Debug parameters:
 -a, --crash-dump        | Write oscam.crash file on segfault. This option
                         . needs GDB to be installed and OSCam executable to
                         . contain the debug information (run oscam-XXXX.debug)
 -s, --capture-segfaults | Capture segmentation faults.
 -g, --gcollect <mode>   | Garbage collector debug mode:
                         .   1 - Immediate free.
                         .   2 - Check for double frees.

 Information:
 -h, --help              | Show command line help text.
 -V, --build-info        | Show OSCam binary configuration and version.
Отговори с цитат
Следните потребители (3) благодарят на Чък Норис за този полезен пост
gogotogo (25-10-2014), ЗЗлатев (28-12-2019), Посветения (25-10-2014)