FreeBSD Bugzilla – Attachment 250253 Details for
Bug 278603
sysutils/parkverbot: add rc file
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch diffed against null
parkverbot-rc.patch (text/plain), 859 bytes, created by
Jason Tubnor
on 2024-04-27 01:31:31 UTC
(
hide
)
Description:
patch diffed against null
Filename:
MIME Type:
Creator:
Jason Tubnor
Created:
2024-04-27 01:31:31 UTC
Size:
859 bytes
patch
obsolete
>--- sysutils/parkverbot/files/parkverbot.in.orig 2024-04-27 11:23:39.402904000 +1000 >+++ sysutils/parkverbot/files/parkverbot.in 2024-04-27 11:21:17.659694000 +1000 >@@ -0,0 +1,29 @@ >+#!/bin/sh >+ >+# PROVIDE: parkverbot >+# REQUIRE: securelevel >+# KEYWORD: nojail shutdown >+# >+# Add the following lines to /etc/rc.conf.local or /etc/rc.conf >+# to enable this service: >+# >+# parkverbot_enable (bool): Set to NO by default. >+# Set it to YES to enable parkverbot. >+# parkverbot_file (str): Devices passed to parkverbot(8) >+# Default: none >+ >+. /etc/rc.subr >+ >+name=parkverbot >+rcvar=${name}_enable >+ >+: ${parkverbot_enable:="NO"} >+: ${parkverbot_file:=""} >+ >+pidfile="/var/run/${name}.pid" >+procname=/usr/local/sbin/${name} >+command=/usr/sbin/daemon >+command_args="-f -p ${pidfile} ${procname} \${${name}_file}" >+ >+load_rc_config ${name} >+run_rc_command "$1"
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 278603
: 250253