/usr/share/doc/HOWTO/ja-html/Firewall-HOWTO-16.html is in doc-linux-ja-html 2006.05.25-1.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
<TITLE>Firewall And Proxy Server HOWTO: APPENDEX B - RedHat $BMQ(B VPN RC $B%9%/%j%W%H(B</TITLE>
<LINK HREF="Firewall-HOWTO-17.html" REL=next>
<LINK HREF="Firewall-HOWTO-15.html" REL=previous>
<LINK HREF="Firewall-HOWTO.html#toc16" REL=contents>
</HEAD>
<BODY>
<A HREF="Firewall-HOWTO-17.html">$B<!$N%Z!<%8(B</A>
<A HREF="Firewall-HOWTO-15.html">$BA0$N%Z!<%8(B</A>
<A HREF="Firewall-HOWTO.html#toc16">$BL\<!$X(B</A>
<HR>
<H2><A NAME="s16">16. APPENDEX B - RedHat $BMQ(B VPN RC $B%9%/%j%W%H(B</A></H2>
<P>
<P>
<PRE>
#!/bin/sh
#
# vpnd $BK\%7%'%k%9%/%j%W%H$O(B vpnd (Vertual Privage Network
# connections / $B2>A[%W%i%$%Y!<%H%M%C%H%o!<%/@\B3(B) $B$N(B
# $B5/F0$HDd;_$r0z$-<u$1$^$9!#(B
#
# chkconfig: - 96 96
# $B35MW(B: vpnd
#
# $B4X?t%i%$%V%i%j$rFI$_9~$_$^$9!#(B
. /etc/rc.d/init.d/functions
# $B%M%C%H%o!<%/@_Dj$rFI$_9~$_$^$9!#(B
. /etc/sysconfig/network
# $B%M%C%H%o!<%/$,5/F0$7$F$$$k$+%A%'%C%/$7$^$9!#(B
[ ${NETWORKING} = "no" ] && exit 0
[ -f /usr/sbin/vpnd ] || exit 0
[ -f /etc/vpnd.conf ] || exit 0
RETVAL=0
# $B2?$,8F$S=P$5$l$?$+$r8+$^$9!#(B
case "$1" in
start)
# $B%G!<%b%s$N5/F0!#(B
echo -n "Starting vpnd: "
daemon vpnd
RETVAL=$?
[ $RETVAL -eq 0 ] && touch /var/lock/subsys/vpnd
echo
;;
stop)
# $B%G!<%b%s$NDd;_!#(B
echo -n "Shutting down vpnd: "
killproc vpnd
RETVAL=$?
[ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/vpnd
echo
;;
restart)
$0 stop
$0 start
;;
*)
echo "Usage: vpnd {start|stop|restart}"
exit 1
esac
exit $RETVAL
</PRE>
<P>
<HR>
<A HREF="Firewall-HOWTO-17.html">$B<!$N%Z!<%8(B</A>
<A HREF="Firewall-HOWTO-15.html">$BA0$N%Z!<%8(B</A>
<A HREF="Firewall-HOWTO.html#toc16">$BL\<!$X(B</A>
</BODY>
</HTML>
|