23 lines
322 B
Bash
Executable File
23 lines
322 B
Bash
Executable File
#! /bin/sh
|
|
# Copyright (c) 1989, Silicon Graphics, Inc.
|
|
#ident "$Revision: 1.1 $"
|
|
|
|
if /etc/chkconfig rtelnetd; then :
|
|
else
|
|
exit
|
|
fi
|
|
|
|
case $1 in
|
|
|
|
'start')
|
|
echo "Starting Reverse Telnetd support"
|
|
/usr/annex/rtelnetd
|
|
;;
|
|
|
|
'stop')
|
|
echo "Stopping Reverse Telnetd support"
|
|
killall rtelnetd
|
|
/bin/rm -f /dev/annex/*
|
|
;;
|
|
esac
|