# more S99n4shost.sh
#!/bin/sh
# See how we were called.
case "$1" in
start)
su n4sadm -c "startsap n4shost" >/dev/null 2>&1
;;
stop)
su n4sadm -c "stoptsap n4shost" >/dev/null 2>&1
;;
status)
;;
restart)
;;
*)
echo $"Usage: $0 {start|stop|status|condrestart|restart}"
exit 1
esac
exit $?
#!/bin/sh
# See how we were called.
case "$1" in
start)
su n4sadm -c "startsap n4shost" >/dev/null 2>&1
;;
stop)
su n4sadm -c "stoptsap n4shost" >/dev/null 2>&1
;;
status)
;;
restart)
;;
*)
echo $"Usage: $0 {start|stop|status|condrestart|restart}"
exit 1
esac
exit $?