22 lines
357 B
Bash
Executable File
22 lines
357 B
Bash
Executable File
#!/bin/bash
|
|
#
|
|
# stinit This calls /sbin/stinit if /etc/stinit.def exists
|
|
#
|
|
# chkconfig: 2345 40 99
|
|
# description: calls stinit if /etc/stinit.def exists
|
|
|
|
. /etc/init.d/functions
|
|
|
|
# See how we were called.
|
|
case "$1" in
|
|
start)
|
|
[ -f /etc/stinit.def ] && /sbin/stinit
|
|
;;
|
|
stop)
|
|
;;
|
|
*)
|
|
echo $"Usage: $0 {start}"
|
|
exit 1
|
|
esac
|
|
exit 0
|