File: README

package info (click to toggle)
guidedog 1.0.0-5
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 2,692 kB
  • ctags: 247
  • sloc: sh: 13,529; cpp: 2,172; perl: 1,929; makefile: 130
file content (35 lines) | stat: -rw-r--r-- 1,206 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35

Installation
~~~~~~~~~~~~
Some quick notes...

Do the usual "./configure, make, make install" routine.

The Guidedog script at /etc/rc.guidedog needs to be run each time that
a network interface goes up (enabled) or down (disabled). Mandrake 9.1,
and I think the current RedHat (now is 8 may 2003) and hopefully others,
have two directories:

/etc/sysconfig/network-scripts/ifup.d
/etc/sysconfig/network-scripts/ifdown.d

These work much like /etc/rc.d/*. Any scripts (or symbol links to scripts)
get executed when a network interface goes up or down. So to have Guidedog
run we can add some links. First make sure that a file exits at
/etc/rc.guidedog . Run the command (as root):

    echo "#!/bin/bash" > /etc/rc.guidedog

Now create some links in the ifup.d and ifdown.d directories:

    /bin/ln -s /etc/rc.guidedog /etc/sysconfig/network-scripts/ifup.d/20Guidedog
    /bin/ln -s /etc/rc.guidedog /etc/sysconfig/network-scripts/ifdown.d/20Guidedog

When a network interface goes up/down the Guidedog script should run. You can
check you boot message logs and look for a message from Guidedog.
    
Needless to say, but if you can use a prepackaged Guidedog then do so.
    
good luck,

Simon Edwards