Репозитории ALT
5.1: | 1.3-alt6 |
4.1: | 1.3-alt6 |
4.0: | 1.3-alt5 |
3.0: | 1.3-alt4 |
+updates: | 1.3-alt4.M30.1 |
Группа :: Мониторинг
Пакет: trafshow-linux
Главная Изменения Спек Патчи Исходники Загрузить Gear Bugs and FR Repocop
#!/bin/sh
# chkconfig: 345 88 06
# description: This script opens trafshow window on /dev/tty11
#
# Source function library.
. /etc/rc.d/init.d/functions
RETVAL=0
VT=11
# See how we were called.
case "$1" in
start)
echo -n "Starting trafshow: "
open -c $VT -- trafshow-linux -S -s2
RETVAL=$?
echo
return $RETVAL
;;
stop)
echo -n "Stopping trafshow: "
killproc trafshow-linux
[ -x /usr/bin/deallocvt ] && /usr/bin/deallocvt $VT
RETVAL=$?
echo
return $RETVAL
;;
restart)
"$0" stop; "$0" start
;;
*)
echo "Usage: $0 {start|stop|restart}"
exit 1
esac
exit