FreeBSD Bugzilla – Attachment 43560 Details for
Bug 67610
Update rinetd to use rcNg startup
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.62 KB, created by
Renato Botelho
on 2004-06-05 18:30:23 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Renato Botelho
Created:
2004-06-05 18:30:23 UTC
Size:
1.62 KB
patch
obsolete
>diff -Nur rinetd.bkp/files/rinetd.sh rinetd/files/rinetd.sh >--- rinetd.bkp/files/rinetd.sh Wed Dec 31 21:00:00 1969 >+++ rinetd/files/rinetd.sh Sat Jun 5 09:55:58 2004 >@@ -0,0 +1,28 @@ >+#!/bin/sh >+ >+# PROVIDE: rinetd >+# REQUIRE: DAEMON >+# BEFORE: LOGIN >+# KEYWORD: FreeBSD shutdown >+ >+# >+# Add the following lines to /etc/rc.conf to enable rinetd: >+# rinetd_enable (bool): Set to "NO" by default. >+# Set it to "YES" to enable rinetd >+# rinetd_flags (str): Set to "" by default. >+# Extra flags passed to start command >+# >+. %%RC_SUBR%% >+ >+name="rinetd" >+rcvar=`set_rcvar` >+ >+command="%%PREFIX%%/sbin/rinetd" >+pidfile="/var/run/rinetd.pid" >+ >+[ -z "$rinetd_enable" ] && rinetd_enable="NO" >+[ -z "$rinetd_flags" ] && rinetd_flags="" >+ >+load_rc_config $name >+ >+run_rc_command "$1" >diff -Nur rinetd.bkp/pkg-message rinetd/pkg-message >--- rinetd.bkp/pkg-message Wed Dec 31 21:00:00 1969 >+++ rinetd/pkg-message Sat Jun 5 13:14:21 2004 >@@ -0,0 +1,10 @@ >+ *********************************** >+ * !!!!!!!!!!! WARNING !!!!!!!!!!! * >+ *********************************** >+Since 0.62_1, rinetd startup script is now enabled/disabled via >+rc.subr. >+Available variables: >+# rinetd_enable (bool): Set to "NO" by default. >+# Set it to "YES" to enable rinetd >+# rinetd_flags (str): Set to "" by default. >+# Extra flags passed to start command >diff -Nur rinetd.bkp/pkg-plist rinetd/pkg-plist >--- rinetd.bkp/pkg-plist Wed Dec 31 21:00:00 1969 >+++ rinetd/pkg-plist Sat Jun 5 14:03:33 2004 >@@ -0,0 +1,2 @@ >+etc/rc.d/rinetd.sh >+sbin/rinetd
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 67610
:
43559
| 43560