Revisión 550
Añadido por Ricardo Salgado Cid hace más de 9 años
tareas_puppet/servidores_aula/wheezy/ltsp_rc_local/files/rc.local | ||
---|---|---|
#!/bin/sh -e
|
||
#
|
||
# rc.local
|
||
#
|
||
# This script is executed at the end of each multiuser runlevel.
|
||
# Make sure that the script will "exit 0" on success or any other
|
||
# value on error.
|
||
#
|
||
# In order to enable or disable this script just change the execution
|
||
# bits.
|
||
#
|
||
# By default this script does nothing.
|
||
|
||
# sincronizacion puppet
|
||
/usr/sbin/sinc_puppet_inst &
|
||
|
||
# desactivar sonido hdmi
|
||
echo 1 > /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.1/remove
|
||
|
||
exit 0
|
||
tareas_puppet/servidores_aula/wheezy/ltsp_rc_local/leeme.txt | ||
---|---|---|
ltsp_rc_local
|
||
|
||
Tarea de puppet para controlar los contenidos de /etc/rc.local.
|
||
Con la linea:
|
||
echo 1 > /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.1/remove
|
||
Desactivamos el sonido via hdmi para evitar problemas con la tarjeta
|
||
por defecto.
|
||
|
||
|
||
|
||
Ricardo Salgado Cid
|
||
IESO Galisteo
|
||
|
||
Octubre 2015
|
tareas_puppet/servidores_aula/wheezy/ltsp_rc_local/manifests/init.pp | ||
---|---|---|
class ltsp_rc_local {
|
||
|
||
|
||
file {
|
||
"/etc/rc.local":
|
||
owner => root, group => root, mode => 755,
|
||
source => "puppet:///modules/ltsp_rc_local/rc.local";
|
||
}
|
||
|
||
|
||
}
|
Exportar a: Unified diff
Añadida tarea para controlar los contenidos de rc.local(por defecto deshabilita audio hdmi)