File: leafnode.ppp.ip-down

package info (click to toggle)
leafnode 1.11.10-3
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 2,464 kB
  • ctags: 597
  • sloc: ansic: 10,894; sh: 1,736; xml: 628; makefile: 291; perl: 84; sed: 4
file content (10 lines) | stat: -rw-r--r-- 259 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

. /etc/news/leafnode/debian-config

# Kill any fetch processes hanging around
if [ "$NETWORK" = "PPP" ]; then
   if [ -f /var/spool/news/leaf.node/lock.file ]; then
      /bin/kill -INT $(cat /var/spool/news/leaf.node/lock.file | head -1)
   fi
fi