1
0
Files
irix-657m-src/eoe/cmd/initpkg/init.d/uucp
2022-09-29 17:59:04 +03:00

30 lines
445 B
Bash
Executable File

#! /sbin/sh
#Tag 0x00000f00
# UUCP control
# "$Revision: 1.15 $"
# demons which may be present when taking the system down
DEMONS="UUCICO uucico uusched uux"
case $1 in
'start')
# Clean-up uucp locks, status, and temporary files
set `/sbin/who -r`
if [ $9 = "S" ]
then
/bin/rm -rf /var/spool/locks/*
fi
;;
'stop')
/sbin/killall 15 $DEMONS
sleep 1
/sbin/killall $DEMONS
;;
*)
echo "usage: /etc/init.d/uucp {start|stop}"
;;
esac