il solito &quot;coniglio&quot;<br><br>devo attaccare un UPS ad una macchina con ubuntu 7.04 server LAMP<br><br>ho pensato di usare upsd<br>mi sto leggendo il README ma....... dove cacchio e&#39; l&#39;inittab?<br><br>un consiglio(coniglio)<br>
<br>ciao grazie<br>gg<br><br>ps: qualcosa che semplifichi la vita e&#39; sempre benvenuto<br><br><br>You will also need to add power fail and power ok entries to your<br>existing /etc/inittab, like this:<br><br>pf::powerfail:/sbin/shutdown -f -h +2 &quot;Power Failure; System Shutting Down&quot;<br>
<br># If power was restored before the shutdown kicked in, cancel it.<br>pr:12345:powerokwait:/sbin/shutdown -c &quot;Power Restored; Shutdown Cancelled&quot;<br><br><br>