Browse Source

Add rc.d(8) scripts for ipropd-master and ipropd-slave.

ok deraadt@
OPENBSD_5_5
ajacoutot 11 years ago
parent
commit
f7defe2c57
5 changed files with 32 additions and 7 deletions
  1. +2
    -2
      src/etc/Makefile
  2. +5
    -4
      src/etc/rc
  3. +3
    -1
      src/etc/rc.conf
  4. +11
    -0
      src/etc/rc.d/ipropd_master
  5. +11
    -0
      src/etc/rc.d/ipropd_slave

+ 2
- 2
src/etc/Makefile View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.333 2013/07/10 05:12:15 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.334 2013/08/09 16:24:54 ajacoutot Exp $
TZDIR= /usr/share/zoneinfo TZDIR= /usr/share/zoneinfo
LOCALTIME= Canada/Mountain LOCALTIME= Canada/Mountain
@ -56,7 +56,7 @@ RCDAEMONS= amd apmd bgpd bootparamd cron dhcpd dhcrelay dvmrpd \
sensorsd slowcgi smtpd snmpd spamd sshd syslogd watchdogd \ sensorsd slowcgi smtpd snmpd spamd sshd syslogd watchdogd \
wsmoused xdm ypbind ypldap yppasswdd ypserv kdc kadmind \ wsmoused xdm ypbind ypldap yppasswdd ypserv kdc kadmind \
kpasswdd nfsd mountd lockd statd spamlogd sndiod popa3d \ kpasswdd nfsd mountd lockd statd spamlogd sndiod popa3d \
tftpd tftpproxy ldomd
tftpd tftpproxy ldomd ipropd_master ipropd_slave
MISETS= base${OSrev}.tgz comp${OSrev}.tgz \ MISETS= base${OSrev}.tgz comp${OSrev}.tgz \
man${OSrev}.tgz game${OSrev}.tgz etc${OSrev}.tgz man${OSrev}.tgz game${OSrev}.tgz etc${OSrev}.tgz


+ 5
- 4
src/etc/rc View File

@ -1,4 +1,4 @@
# $OpenBSD: rc,v 1.406 2013/06/01 14:06:20 naddy Exp $
# $OpenBSD: rc,v 1.407 2013/08/09 16:24:54 ajacoutot Exp $
# System startup script run by init on autoboot # System startup script run by init on autoboot
# or after single-user. # or after single-user.
@ -493,9 +493,10 @@ if ifconfig lo0 inet6 >/dev/null 2>&1; then
fi fi
fi fi
start_daemon hostapd rwhod lpd sendmail smtpd httpd slowcgi nginx ftpd ftpproxy
start_daemon tftpd tftpproxy identd inetd rarpd bootparamd rbootd mopd
start_daemon popa3d spamd spamlogd kdc kadmind kpasswdd sndiod
start_daemon hostapd rwhod lpd sendmail smtpd httpd slowcgi nginx ftpd
start_daemon ftpproxy tftpd tftpproxy identd inetd rarpd bootparamd
start_daemon rbootd mopd popa3d spamd spamlogd kdc kadmind kpasswdd
start_daemon ipropd_master ipropd_slave sndiod
echo '.' echo '.'
if [ X"${spamd_flags}" != X"NO" ]; then if [ X"${spamd_flags}" != X"NO" ]; then


+ 3
- 1
src/etc/rc.conf View File

@ -1,6 +1,6 @@
#!/bin/sh - #!/bin/sh -
# #
# $OpenBSD: rc.conf,v 1.180 2013/08/09 16:00:53 ajacoutot Exp $
# $OpenBSD: rc.conf,v 1.181 2013/08/09 16:24:54 ajacoutot Exp $
# DO NOT EDIT THIS FILE!! # DO NOT EDIT THIS FILE!!
# #
@ -64,6 +64,8 @@ portmap_flags=NO # for normal use: ""
kdc_flags=NO # for normal use: "" see 'info heimdal' for help kdc_flags=NO # for normal use: "" see 'info heimdal' for help
kadmind_flags=NO # for normal use: "" kadmind_flags=NO # for normal use: ""
kpasswdd_flags=NO # for normal use: "" kpasswdd_flags=NO # for normal use: ""
ipropd_master_flags=NO # for normal use: ""
ipropd_slave_flags=NO # for normal use: "[master hostname]"
amd_flags=NO # for normal use: "" amd_flags=NO # for normal use: ""
tftpd_flags=NO # for normal use: "[chroot dir]" tftpd_flags=NO # for normal use: "[chroot dir]"
tftpproxy_flags=NO # for normal use: "" tftpproxy_flags=NO # for normal use: ""


+ 11
- 0
src/etc/rc.d/ipropd_master View File

@ -0,0 +1,11 @@
#!/bin/sh
#
# $OpenBSD: ipropd_master,v 1.1 2013/08/09 16:24:54 ajacoutot Exp $
daemon="/usr/libexec/ipropd-master --detach"
. /etc/rc.d/rc.subr
rc_reload=NO
rc_cmd $1

+ 11
- 0
src/etc/rc.d/ipropd_slave View File

@ -0,0 +1,11 @@
#!/bin/sh
#
# $OpenBSD: ipropd_slave,v 1.1 2013/08/09 16:24:54 ajacoutot Exp $
daemon="/usr/libexec/ipropd-slave --detach"
. /etc/rc.d/rc.subr
rc_reload=NO
rc_cmd $1

Loading…
Cancel
Save