Changes

From SME Server
Jump to navigationJump to search
no edit summary
Line 29: Line 29:  
  udevtrigger
 
  udevtrigger
   −
The follow the instructions at [[Uninterruptable_Power_Supply]]
+
=== hosts.allow ===
 +
 
 +
NUT uses TCP-Wrappers to provide controlled access to the daemon upsd. To allow this add a fragment to the templates
 +
 
 +
mkdir -p /etc/e-smith/templates-custom/etc/hosts.allow/
 +
mc -e /etc/e-smith/templates-custom/etc/hosts.allow/upsd
 +
 
 +
Paste in the fragment
 +
{
 +
$DB->hosts_allow_spec('nut','upsd');
 +
}
 +
 
 +
and expand the template & restart the service
 +
expand-template /etc/hosts.allow
 +
service nut restart
 +
 
 +
Then follow the excellent instructions at [[Uninterruptable_Power_Supply]]
    
* The Geekery is referenced at http://www.networkupstools.org/
 
* The Geekery is referenced at http://www.networkupstools.org/
88

edits

Navigation menu