mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
1b9bd70f42
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
24 lines
616 B
Text
24 lines
616 B
Text
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
|
|
|