#!/bin/bash
if [ $# = 1 ]
then
if [ "$1" = "--help" ]
then
echo "$0 <Caminho para o daemon desejado>"
exit
else
THEDAEMON=$1
fi
fi
if [ "
exit
fi
TOQUIT=0
while [ "$TOQUIT" = "0" ]
do
OPTION=`zenity --list --text "Escolha a operacao a
executar no daemon $THEDAEMON:" --column Operacao start
restart stop quit`
if [ "$OPTION" = "quit" ]
then
TOQUIT=1
else
zenity --info --text "Executando $THEDAEMON $OPTION."
$THEDAEMON $OPTION | zenity --text-info
fi
done
Comments (0)
You don't have permission to comment on this page.