Running an on-reader application, Default inittab, Modified inittab – ThingMagic Mercury API v1.23.0 User Manual

Page 117

Advertising
background image

Building On-Reader Applications

On Reader Applications

117

Running an On-Reader Application

Once the binary is installed on the Reader it can be executed as you would from a Linux
host or the binary or a shell script invoking the binary can be configured to run at boot
time.

To start the application at boot you can place it in the reader’s

/tm/etc/inittab file. If

you do this, the operating system starts that program when the system boots and restarts
it in the event of a crash.

Default inittab

demonb:unknown:/bin/demonb

rendezvous:unknown:/bin/run_mdnsd.sh

telnetd:unknown:/bin/run_telnetd.sh

portmap:unknown:/bin/portmap -d

tmmpd:unknown:/tm/bin/tmmpd

ntp:unknown:/bin/run_ntp.sh

wtp:unknown:/tm/bin/run_wtp.sh

webserver:unknown:/bin/run_webserver.sh

sshd:unknown:/bin/run_sshd.sh

getty:unknown:/sbin/getty 115200 /dev/ttyS1

snmpd:unknown:/bin/run_snmp.sh

update_passwd:unknown:/usr/sbin/update_passwd.sh

Modified inittab

demonb:unknown:/bin/demonb

rendezvous:unknown:/bin/run_mdnsd.sh

telnetd:unknown:/bin/run_telnetd.sh

portmap:unknown:/bin/portmap -d

tmmpd:unknown:/tm/bin/tmmpd

ntp:unknown:/bin/run_ntp.sh

wtp:unknown:/tm/bin/run_wtp.sh

webserver:unknown:/bin/run_webserver.sh

sshd:unknown:/bin/run_sshd.sh

Advertising