- Update RC scripts to play nicely with latest changes in -CURRENT

PR:		ports/69590
Submitted by:	Cyrille Lefevre <cyrille.lefevre@laposte.net> (maintainer)
This commit is contained in:
Pav Lucistnik 2004-07-26 20:57:03 +00:00
parent fd095c4766
commit 6ae6b39bdb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=114803
8 changed files with 68 additions and 68 deletions

View file

@ -18,23 +18,23 @@ paranoia=%%PARANOIA%% # compiled in paranoia?
jail=%%JAIL%% # compiled in jail?
# override these variables in /etc/rc.conf
dhcpd_enable=NO
dhcpd_flags= # -q -early_chroot # command option(s)
dhcpd_conf=%%PREFIX%%/etc/${name}.conf # configuration file
dhcpd_ifaces= # ethernet interface(s)
dhcpd_withumask=022 # file creation mask
dhcpd_enable=${dhcpd_enable:-"NO"}
dhcpd_flags=${dhcpd_flags:-} # -q -early_chroot # command option(s)
dhcpd_conf=${dhcpd_conf:-%%PREFIX%%/etc/${name}.conf} # configuration file
dhcpd_ifaces=${dhcpd_ifaces:-} # ethernet interface(s)
dhcpd_withumask=${dhcpd_withumask:-022} # file creation mask
dhcpd_chuser_enable=YES # runs w/o privileges?
dhcpd_withuser=${name} # user name to run as
dhcpd_withgroup=${name} # group name to run as
dhcpd_chuser_enable=${dhcpd_chuser_enable:-"YES"} # runs w/o privileges?
dhcpd_withuser=${dhcpd_withuser:-${name}} # user name to run as
dhcpd_withgroup=${dhcpd_withgroup:-${name}} # group name to run as
dhcpd_chroot_enable=NO # runs chrooted?
dhcpd_rootdir=/var/db/${name} # directory to run in
dhcpd_chroot_enable=${dhcpd_chroot_enable:-"NO"} # runs chrooted?
dhcpd_rootdir=${dhcpd_rootdir:-/var/db/${name}} # directory to run in
# untested
dhcpd_jail_enable=NO # runs imprisoned?
dhcpd_hostname= # jail hostname
dhcpd_ipaddress= # jail ip address
dhcpd_jail_enable=${dhcpd_jail_enable:-"NO"} # runs imprisoned?
dhcpd_hostname=${dhcpd_hostname:-} # jail hostname
dhcpd_ipaddress=${dhcpd_ipaddress:-} # jail ip address
safe_run () # rc command [args...]
{

View file

@ -12,10 +12,10 @@
#
# override these variables in /etc/rc.conf
dhcrelay_enable=NO
dhcrelay_flags= # command option(s)
dhcrelay_servers= # dhcrelay server(s)
dhcrelay_ifaces= # ethernet interface(s)
dhcrelay_enable=${dhcrelay_enable:-"NO"}
dhcrelay_flags=${dhcrelay_flags:-} # command option(s)
dhcrelay_servers=${dhcrelay_servers:-} # dhcrelay server(s)
dhcrelay_ifaces=${dhcrelay_ifaces:-} # ethernet interface(s)
dhcrelay_precmd ()
{

View file

@ -18,23 +18,23 @@ paranoia=%%PARANOIA%% # compiled in paranoia?
jail=%%JAIL%% # compiled in jail?
# override these variables in /etc/rc.conf
dhcpd_enable=NO
dhcpd_flags= # -q -early_chroot # command option(s)
dhcpd_conf=%%PREFIX%%/etc/${name}.conf # configuration file
dhcpd_ifaces= # ethernet interface(s)
dhcpd_withumask=022 # file creation mask
dhcpd_enable=${dhcpd_enable:-"NO"}
dhcpd_flags=${dhcpd_flags:-} # -q -early_chroot # command option(s)
dhcpd_conf=${dhcpd_conf:-%%PREFIX%%/etc/${name}.conf} # configuration file
dhcpd_ifaces=${dhcpd_ifaces:-} # ethernet interface(s)
dhcpd_withumask=${dhcpd_withumask:-022} # file creation mask
dhcpd_chuser_enable=YES # runs w/o privileges?
dhcpd_withuser=${name} # user name to run as
dhcpd_withgroup=${name} # group name to run as
dhcpd_chuser_enable=${dhcpd_chuser_enable:-"YES"} # runs w/o privileges?
dhcpd_withuser=${dhcpd_withuser:-${name}} # user name to run as
dhcpd_withgroup=${dhcpd_withgroup:-${name}} # group name to run as
dhcpd_chroot_enable=NO # runs chrooted?
dhcpd_rootdir=/var/db/${name} # directory to run in
dhcpd_chroot_enable=${dhcpd_chroot_enable:-"NO"} # runs chrooted?
dhcpd_rootdir=${dhcpd_rootdir:-/var/db/${name}} # directory to run in
# untested
dhcpd_jail_enable=NO # runs imprisoned?
dhcpd_hostname= # jail hostname
dhcpd_ipaddress= # jail ip address
dhcpd_jail_enable=${dhcpd_jail_enable:-"NO"} # runs imprisoned?
dhcpd_hostname=${dhcpd_hostname:-} # jail hostname
dhcpd_ipaddress=${dhcpd_ipaddress:-} # jail ip address
safe_run () # rc command [args...]
{

View file

@ -12,10 +12,10 @@
#
# override these variables in /etc/rc.conf
dhcrelay_enable=NO
dhcrelay_flags= # command option(s)
dhcrelay_servers= # dhcrelay server(s)
dhcrelay_ifaces= # ethernet interface(s)
dhcrelay_enable=${dhcrelay_enable:-"NO"}
dhcrelay_flags=${dhcrelay_flags:-} # command option(s)
dhcrelay_servers=${dhcrelay_servers:-} # dhcrelay server(s)
dhcrelay_ifaces=${dhcrelay_ifaces:-} # ethernet interface(s)
dhcrelay_precmd ()
{

View file

@ -18,23 +18,23 @@ paranoia=%%PARANOIA%% # compiled in paranoia?
jail=%%JAIL%% # compiled in jail?
# override these variables in /etc/rc.conf
dhcpd_enable=NO
dhcpd_flags= # -q -early_chroot # command option(s)
dhcpd_conf=%%PREFIX%%/etc/${name}.conf # configuration file
dhcpd_ifaces= # ethernet interface(s)
dhcpd_withumask=022 # file creation mask
dhcpd_enable=${dhcpd_enable:-"NO"}
dhcpd_flags=${dhcpd_flags:-} # -q -early_chroot # command option(s)
dhcpd_conf=${dhcpd_conf:-%%PREFIX%%/etc/${name}.conf} # configuration file
dhcpd_ifaces=${dhcpd_ifaces:-} # ethernet interface(s)
dhcpd_withumask=${dhcpd_withumask:-022} # file creation mask
dhcpd_chuser_enable=YES # runs w/o privileges?
dhcpd_withuser=${name} # user name to run as
dhcpd_withgroup=${name} # group name to run as
dhcpd_chuser_enable=${dhcpd_chuser_enable:-"YES"} # runs w/o privileges?
dhcpd_withuser=${dhcpd_withuser:-${name}} # user name to run as
dhcpd_withgroup=${dhcpd_withgroup:-${name}} # group name to run as
dhcpd_chroot_enable=NO # runs chrooted?
dhcpd_rootdir=/var/db/${name} # directory to run in
dhcpd_chroot_enable=${dhcpd_chroot_enable:-"NO"} # runs chrooted?
dhcpd_rootdir=${dhcpd_rootdir:-/var/db/${name}} # directory to run in
# untested
dhcpd_jail_enable=NO # runs imprisoned?
dhcpd_hostname= # jail hostname
dhcpd_ipaddress= # jail ip address
dhcpd_jail_enable=${dhcpd_jail_enable:-"NO"} # runs imprisoned?
dhcpd_hostname=${dhcpd_hostname:-} # jail hostname
dhcpd_ipaddress=${dhcpd_ipaddress:-} # jail ip address
safe_run () # rc command [args...]
{

View file

@ -12,10 +12,10 @@
#
# override these variables in /etc/rc.conf
dhcrelay_enable=NO
dhcrelay_flags= # command option(s)
dhcrelay_servers= # dhcrelay server(s)
dhcrelay_ifaces= # ethernet interface(s)
dhcrelay_enable=${dhcrelay_enable:-"NO"}
dhcrelay_flags=${dhcrelay_flags:-} # command option(s)
dhcrelay_servers=${dhcrelay_servers:-} # dhcrelay server(s)
dhcrelay_ifaces=${dhcrelay_ifaces:-} # ethernet interface(s)
dhcrelay_precmd ()
{

View file

@ -18,23 +18,23 @@ paranoia=%%PARANOIA%% # compiled in paranoia?
jail=%%JAIL%% # compiled in jail?
# override these variables in /etc/rc.conf
dhcpd_enable=NO
dhcpd_flags= # -q -early_chroot # command option(s)
dhcpd_conf=%%PREFIX%%/etc/${name}.conf # configuration file
dhcpd_ifaces= # ethernet interface(s)
dhcpd_withumask=022 # file creation mask
dhcpd_enable=${dhcpd_enable:-"NO"}
dhcpd_flags=${dhcpd_flags:-} # -q -early_chroot # command option(s)
dhcpd_conf=${dhcpd_conf:-%%PREFIX%%/etc/${name}.conf} # configuration file
dhcpd_ifaces=${dhcpd_ifaces:-} # ethernet interface(s)
dhcpd_withumask=${dhcpd_withumask:-022} # file creation mask
dhcpd_chuser_enable=YES # runs w/o privileges?
dhcpd_withuser=${name} # user name to run as
dhcpd_withgroup=${name} # group name to run as
dhcpd_chuser_enable=${dhcpd_chuser_enable:-"YES"} # runs w/o privileges?
dhcpd_withuser=${dhcpd_withuser:-${name}} # user name to run as
dhcpd_withgroup=${dhcpd_withgroup:-${name}} # group name to run as
dhcpd_chroot_enable=NO # runs chrooted?
dhcpd_rootdir=/var/db/${name} # directory to run in
dhcpd_chroot_enable=${dhcpd_chroot_enable:-"NO"} # runs chrooted?
dhcpd_rootdir=${dhcpd_rootdir:-/var/db/${name}} # directory to run in
# untested
dhcpd_jail_enable=NO # runs imprisoned?
dhcpd_hostname= # jail hostname
dhcpd_ipaddress= # jail ip address
dhcpd_jail_enable=${dhcpd_jail_enable:-"NO"} # runs imprisoned?
dhcpd_hostname=${dhcpd_hostname:-} # jail hostname
dhcpd_ipaddress=${dhcpd_ipaddress:-} # jail ip address
safe_run () # rc command [args...]
{

View file

@ -12,10 +12,10 @@
#
# override these variables in /etc/rc.conf
dhcrelay_enable=NO
dhcrelay_flags= # command option(s)
dhcrelay_servers= # dhcrelay server(s)
dhcrelay_ifaces= # ethernet interface(s)
dhcrelay_enable=${dhcrelay_enable:-"NO"}
dhcrelay_flags=${dhcrelay_flags:-} # command option(s)
dhcrelay_servers=${dhcrelay_servers:-} # dhcrelay server(s)
dhcrelay_ifaces=${dhcrelay_ifaces:-} # ethernet interface(s)
dhcrelay_precmd ()
{