File: slrn.if-up

package info (click to toggle)
slrn 1.0.3%2Bdfsg-3
  • links: PTS
  • area: main
  • in suites: buster
  • size: 6,412 kB
  • sloc: ansic: 39,852; sh: 3,777; perl: 467; makefile: 229; sed: 24
file content (14 lines) | stat: -rw-r--r-- 336 bytes parent folder | download | duplicates (13)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
#
# This script is called when ppp/ifup connects to the network.
# Slrn uses it for refreshing newsgroup descriptions

[ -x /usr/bin/slrn ] || exit 0

if [ -f /etc/default/slrn ]; then
        . /etc/default/slrn
fi

if [ "$GETDESCS" = "ip-up" -a "$METHOD" != loopback ]; then
	/usr/sbin/slrn_getdescs $INTERVAL >/dev/null
fi