summaryrefslogtreecommitdiff
path: root/network/openl2tp/README.SLACKWARE
blob: 204e78ad8121fe99eca6eaada08f8d3fe02df63e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
To start openl2tpd at boot, you will need to add the following 
lines to /etc/rc.d/rc.local:

  if [ -x /etc/rc.d/rc.openl2tpd ]; then
    /etc/rc.d/rc.openl2tpd start
  fi

Then add the following lines to /etc/rc.d/rc.local_shutdown:

  if [ -x /etc/rc.d/rc.openl2tpd ]; then
    /etc/rc.d/rc.openl2tpd stop
  fi

Then make sure /etc/rc.d/rc.rpc is executable:
  # chmod 0755 /etc/rc.d/rc.rpc

##############################################################

If you want to start it without a reboot, first follow the
above directions, and then do this:

  # /etc/rc.d/rc.rpc start
  # /etc/rc.d/rc.openl2tpd start