1
0
Fork 0

initial commit

This commit is contained in:
ston1th 2019-09-08 17:26:52 +02:00
commit f6021cecbb
6 changed files with 259 additions and 0 deletions

17
install_openbsd.sh Executable file
View file

@ -0,0 +1,17 @@
#!/bin/sh
cat <<'EOF'> /etc/rc.d/smtp_auth_sync
#!/bin/ksh
daemon="/usr/bin/perl"
daemon_flags="/usr/local/sbin/smtp_auth_sync.pl"
. /etc/rc.d/rc.subr
rc_bg=YES
rc_reload=NO
rc_cmd $1
EOF
chmod 555 /etc/rc.d/smtp_auth_sync
rcctl enable smtp_auth_sync
rcctl start smtp_auth_sync