Service manual

Appendix D - Customization 132
Cyclades-TS Installation & Service Manual
APPENDIX D CUSTOMIZATION
Everything related to the Cyclades-TS can be traced back to two files: /etc/rc.sysinit and /etc/
inittab. All Cyclades-TS application programs are started during boot by the init process. The related lines
in the /etc/inittab file are listed below:
# System initialization.
::sysinit:/etc/rc.sysinit
# Single user shell
#console::respawn:/bin/sh < /dev/console > /dev/console 2> /dev/console
ttyS0::respawn:/sbin/getty -p ttyS0 ansi
::respawn:/sbin/cy_wdt_led wdt led
# Cyclades RAS
::once:/sbin/cron
::once:/sbin/snmpd
::once:/sbin/cy_buffering
::once:/sbin/cy_ras
::once:/sbin/sshd -f /etc/ssh/sshd_config
::once:/sbin/ex_ntpclient
::once:/bin/webs
::once:/bin/syslog-ng
::once:/bin/cy_alarm
::wait:/sbin/fwset restore
To customize the Cyclades-TS, change these lines or add others.
For instance, to disable WEB services, comment the line referring to webs as follows.
#::once:/bin/webs
If the /etc/inittab file is changed, edit the /etc/config_files file and add a line containing only /etc/inittab. Save
the file and exit the editor. Save the new configuration by executing saveconf. Then, the Cyclades-TS should
be turned off and then turned on again. This is necessary because the init program provided by Busybox, a
tool that emulates rm, cp, etc., but uses much less space, does not support the option q.