Håvard O. Nordstrand %!s(int64=5) %!d(string=hai) anos
pai
achega
473cd290e4
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      config/linux-server/applications.md

+ 4 - 0
config/linux-server/applications.md

@@ -43,6 +43,10 @@ Sends an emails when APT updates are available.
     - Create it: `cp /usr/lib/apticron/apticron.conf /etc/apticron/apticron.conf`
     - The defaults are typically fine.
 1. Modify the check interval in `/etc/cron.d/apticron` (e.g. `30 23 * * *`).
+1. Fix a bug causing it to ignore `IPADDRESSNUM` and always print all IP adresses:
+    1. Open `/usr/sbin/apticron`.
+    1. Find this line: ```IPADDRESSES=`(echo $( /bin/hostname --all-ip-addresses ) ;```
+    1. Change it to: ```IPADDRESSES=`(```
 1. Test it: `apticron`
 
 ## Avahi Daemon