summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2004-01-05 23:29:41 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2004-01-05 23:29:41 +0000
commit24ce5cddf6e7b6e4f0e82190eb01166441301d27 (patch)
tree605b981517f6696c0ddcb4ae0db3d245cae40862 /net-mail/mailfront/files
parentfix tail -1 issue and copyright headers (Manifest recommit) (diff)
downloadgentoo-2-24ce5cddf6e7b6e4f0e82190eb01166441301d27.tar.gz
gentoo-2-24ce5cddf6e7b6e4f0e82190eb01166441301d27.tar.bz2
gentoo-2-24ce5cddf6e7b6e4f0e82190eb01166441301d27.zip
fix tail -1 issue
Diffstat (limited to 'net-mail/mailfront/files')
-rw-r--r--net-mail/mailfront/files/run-pop3front2
-rw-r--r--net-mail/mailfront/files/run-smtpfront2
2 files changed, 2 insertions, 2 deletions
diff --git a/net-mail/mailfront/files/run-pop3front b/net-mail/mailfront/files/run-pop3front
index f28d5286327c..0f341ee714e9 100644
--- a/net-mail/mailfront/files/run-pop3front
+++ b/net-mail/mailfront/files/run-pop3front
@@ -1,6 +1,6 @@
#!/bin/sh
-SOCKET=`head -1 /etc/vmailmgr/cvm-vmailmgr-socket`
+SOCKET=`head -n1 /etc/vmailmgr/cvm-vmailmgr-socket`
exec /usr/bin/softlimit -m 2000000 \
/usr/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb \
diff --git a/net-mail/mailfront/files/run-smtpfront b/net-mail/mailfront/files/run-smtpfront
index 33d0e01adf18..714a35db1394 100644
--- a/net-mail/mailfront/files/run-smtpfront
+++ b/net-mail/mailfront/files/run-smtpfront
@@ -4,7 +4,7 @@ QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
#set CVM_SASL_LOGIN and CVM_SSASL_PLAIN to the path of cvm-vmailmgr socket (/etc/vmailmgr/cvm-vmailmgr-socket
-SOCKET=`head -1 /etc/vmailmgr/cvm-vmailmgr-socket`
+SOCKET=`head -n1 /etc/vmailmgr/cvm-vmailmgr-socket`
export CVM_SASL_LOGIN=$SOCKET
export CVM_SASL_PLAIN=$SOCKET