===== Runlevels, and rc.d scripts ===== * start/stop/restatart scripts are in directory **/etc/init.d/** * emtest application start/stop/restatart scripts are in directory **/opt/emtest/etc/init.d/** * In **/etc/rcX.d/** are symbolic link to files in /etc/init.d/ * In **/opt/emtest/etc/rcX.d/** are symbolic link to files in /opt/emtest/etc/init.d/ * Scripts in **/opt/emtest/etc/init.d/** are are called from script **/etc/init.d/emapps** === Scripts in rcX.d directory syntax === ** XYYname** * X – S-start or K-stop, same as argument start/stop of start script * YY – 00-99 order to start * name – name of start script ===== Recommended /opt/emtest/rd.d/ scripts order ===== * S01RecoverStatistics - when SD card is exchanged by new one, backup is restored to SD card * S01app_pcscd -pcscd is not started by os on 2.4 system, depended on app in emapps * S02gpsd - running gps daemon (required by S04) * S02generate_keys * S04TimeSet - service which tries to set time from gps, in case time is corrupted * S05dataservice - data service: unpacking data from /opt/emtest/emcommd/ in to /opt/emtest/var/spool/incoming/ * S07configvehlice * S08deletemonitoring * S08holder_snr * S11qwsd * S12updatefirmwares * S13flashbuse * S20time_sync_server - TimeServer for slave dataservice - predtym bol S01 **20 and above - Now validator can be started** * S21netsam_auto * S22monitoring_to_ram * S22pt_auto * S25monitor * S30analyzer * S30dtpd_counter * S47serviceprint_auto * S48UiService * S50hlavny

green common template (hlavny_common, slave_common)
blue PT template
===== TODO ===== ===== Autor: Stanislav Kuchar