Chapter 5
/usr/stratus/rsn/bin/rsnon
This script displays the following message and prompt. Press the <Return> key to continue.
1. Setting rsn_monitor, rsn_getty, rsndbs to respawn in
/etc/inittab.
2. Enabling the rsntrans entry in /var/spool/cron/crontabs/rsn.
3. If any errors are encountered, no changes are committed.
Press return to continue or q to quit...
The script displays the RSN inittab settings and asks you if they are correct. The settings should be
correct. Press y followed by the <Return> key to continue.
**************************************************
**************************************************
CHANGING RSN INITTAB SETTINGS.
Changing settings to respawn
22,24c22,24
< rsnd:234:off:/usr/stratus/rsn/bin/rsndbs >/dev/null 2>&1
< rsng:234:off:/usr/stratus/rsn/bin/rsngetty -r >/dev/null 2>$1
< rsnm:234:off:/usr/stratus/rsn/bin/rsn_monitor >/dev/null 2>&1
---
> rsnd:234:respawn:/usr/stratus/rsn/bin/rsndbs >/dev/null 2>&1
> rsng:234:respawn:/usr/stratus/rsn/bin/rsngetty -r >/dev/null 2>&1
> rsnm:234:respawn:/usr/stratus/rsn/bin/rsn_monitor >/dev/null 2>&1
Are these the proper changes to be made (y/n): y
The script displays a commented-out line in the file /var/spool/cron/crontabs/sracs and asks
you if this line should be uncommented. Press y followed by the <Return> key to continue.
**************************************************
**************************************************
CHECKING /var/spool/cron/crontabs/sracs FOR RSNTRANS
#1,16,31,46 * * * * /usr/stratus/rsn/bin/rsntrans -r1 -s HUB -z
>/dev/null
Is this the proper line in /var/spool/cron/crontabs/sracs to
uncomment? (y/n): y
If the script completes execution successfully, it displays the following messages.
RSNTRANS HAS BEEN ENABLED
/etc/inittab SETTINGS ARE COMMITTED
RSN IS NOW ON.