| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • You already know Dokkio is an AI-powered assistant to organize & manage your digital files & messages. Very soon, Dokkio will support Outlook as well as One Drive. Check it out today!

View
 

zdaemon

Page history last edited by PBworks 17 years ago

#!/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.