Olá...

Davi, como começo a criar esse "shell script" ?  

Poderia dar mais detalhes, pois estou engatinhando ainda.....

Se puder me ajudar, eu agradeço....

Att,

Armando!


2009/6/30 Davi Vercillo C. Garcia <davivercillo@gmail.com>
Fala Armando,

>> Pois pelo FSTAB seria somente a montagem de volumes... e eu gostaria de
>> executar alguns comandos durante o desligamento..

Voce poderia criar um shell script que atendesse tanto ao parametro
"start" quanto o comando "stop", e adiciona-lo como sevico pelo
chkconfig ! Acho que seria a melhor maneira, ja que voce quer realizar
operacoes alem da montagem/desmontagem.

Abracos,
--
Davi Vercillo Carneiro Garcia
http://www.dcc.ufrj.br/~davivercillo

Universidade Federal do Rio de Janeiro
Departamento de Ciência da Computação
DCC-IM/UFRJ - http://www.dcc.ufrj.br

/"\
\ /   CAMPANHA DA FITA ASCII - CONTRA MAIL HTML
 X   ASCII RIBBON CAMPAIGN - AGAINST HTML MAIL
/ \

"Whoever comes is the right people; Whatever happens is the only thing
that could have;
Whenever it starts is the right time; When it's over, it's over !" -
Open Space Philosophy

"Theory is when you know something, but it doesn't work. Practice is
when something works, but you don't know why.
Programmers combine theory and practice: Nothing works and they don't
know why." - Anon


--
Fedora-users-br mailing list
Fedora-users-br@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-users-br