# This shell script will update the following commands:
#
#	/bin/sh
#	/etc/init
#	/etc/enable
#	/etc/disable
#	/etc/ttystat

# save the old files
cp -d /bin/sh /bin/sh.SAV
cp -d /etc/init /etc/init.SAV
cp -d /etc/enable /etc/enable.SAV

# copy the new files into place
cp -d sh /bin/sh.NEW
cp -d init /etc/init.NEW
cp -d enable /etc/enable.NEW

# link enable
ln -f /etc/enable.NEW /etc/enable
ln -f /etc/enable /etc/disable
ln -f /etc/enable /etc/ttystat

# link init
ln -f /etc/init.NEW /etc/init

# link the shell
ln -f /bin/sh.NEW /bin/sh

# set permissions
chmog 511 bin bin /bin/sh
chmog 6511 root root /etc/enable
chmog 500 root root /etc/init

# instruct the user:

echo "
You must now shut down and reboot your system for the changes to take full
effect.
"
