mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

24 lines
432 B

#!/bin/sh
#
# ROCK Linux: /etc/rc.d/init.d/xinetd
#
# Desc: internet "xinetd(8) super-server"
#
# Runlevel: 25 rcX
#
main_begin
block_begin(start, `Starting xinetd.')
check(`D_prefix/sbin/xinetd')
block_end
block_begin(stop, `Stopping xinetd.')
check(`killall -15 D_prefix/sbin/xinetd')
block_end
block_begin(restart, `Restarting xinetd.')
check(`killall -1 D_prefix/sbin/xinetd')
block_end
main_end