[Fedora-users-br] Ajuda com systemd (inicialização de serviços)

Rafael Tomelin rafael.tomelin em gmail.com
Terça Agosto 6 11:13:04 UTC 2013


Bom dia,

Onde crio esse arquivo(script)?

Como ele será chamado (inicializado)?


Desde já, obrigado André.


2013/8/5 André Felício <andre em felicio.com.br>

> Acabei de verificar. Tem no fedora também.
>
>
> Em 5 de agosto de 2013 18:02, André Felício <andre em felicio.com.br>escreveu:
>
> Não sei se no init do fedora tem mas...
>>
>> # touch /.unconfigured
>>
>>
>> *# Configure machine if necessary.*
>> *if [ -f /.unconfigured ]; then*
>> *
>> *
>> *    if [ -x /bin/plymouth ]; then*
>> *        /bin/plymouth quit*
>>  *    fi*
>> *
>> *
>> *    if [ -x /usr/bin/system-config-keyboard ]; then*
>> *        /usr/bin/system-config-keyboard*
>> *    fi*
>> *    if [ -x /usr/bin/passwd ]; then*
>> *        /usr/bin/passwd root*
>> *    fi*
>> *    if [ -x /usr/sbin/system-config-network-tui ]; then*
>> *        /usr/sbin/system-config-network-tui*
>> *    fi*
>> *    if [ -x /usr/sbin/timeconfig ]; then*
>> *        /usr/sbin/timeconfig*
>> *    fi*
>> *    if [ -x /usr/sbin/authconfig-tui ]; then*
>> *        /usr/sbin/authconfig-tui --nostart*
>> *    fi*
>>  *    if [ -x /usr/sbin/ntsysv ]; then*
>> *        /usr/sbin/ntsysv --level 35*
>> *    fi*
>> *
>> *
>> *    # Reread in network configuration data.*
>> *    if [ -f /etc/sysconfig/network ]; then*
>> *        . /etc/sysconfig/network*
>> *
>> *
>> *        # Reset the hostname.*
>> *        action $"Resetting hostname ${HOSTNAME}: " hostname ${HOSTNAME}*
>> *    fi*
>> *
>> *
>> *    rm -f /.unconfigured*
>> *fi*
>>
>>
>>
>> Em 5 de agosto de 2013 09:04, Rafael Tomelin <rafael.tomelin em gmail.com>escreveu:
>>
>>>
>>> Bom dia pessoal,
>>>
>>> Estou criando uma imagem customizada do fedora 18, porém após a
>>> instalação quero que quando estiver inicializando o fedora abra um script
>>> em dialog para preencher alguns dados tais como:
>>>
>>> hostname, colocar máquina no dominio, criar usuário, ....
>>>
>>> O script eu já tenho, agora preciso saber como colocar a inicialização,
>>> antes que senha solicitada user e senha.
>>>
>>> Alguém consegue me ajudar?
>>>
>>>
>>> --
>>> Att,
>>> Rafael Tomelin
>>> Tel.: 51-84104084
>>> Skype: rafael.tomelin
>>>
>>> LPI ID: LPI000191271
>>>
>>> --
>>> br-users mailing list
>>> br-users em lists.fedoraproject.org
>>> https://admin.fedoraproject.org/mailman/listinfo/br-users
>>>
>>
>>
>>
>> --
>> At.te,
>>
>> André Felício
>> http://www.felicio.com.br
>>
>
>
>
> --
> At.te,
>
> André Felício
> http://www.felicio.com.br
>
> --
> br-users mailing list
> br-users em lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/br-users
>



-- 
Att,
Rafael Tomelin
Tel.: 51-84104084
Skype: rafael.tomelin

LPI ID: LPI000191271
-------------- Próxima Parte ----------
Um anexo em HTML foi limpo...
URL: <http://lists.fedoraproject.org/pipermail/br-users/attachments/20130806/2a3ac22a/attachment.html>


Mais detalhes sobre a lista de discussão br-users