summaryrefslogtreecommitdiff
path: root/news/inn/files/innd.sh
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>1999-07-24 17:38:14 +0000
committertron <tron@pkgsrc.org>1999-07-24 17:38:14 +0000
commita4dd317ea218eb211eff9801d69da0ddd2bafd4f (patch)
treef32908207cc68d1c3d1d8e1a54e05193a6e50c49 /news/inn/files/innd.sh
parent12a7095089e877790e412724451e59dfba673877 (diff)
downloadpkgsrc-a4dd317ea218eb211eff9801d69da0ddd2bafd4f.tar.gz
Use "su" with "-c" so that it works for accounts with login shell other
than "/bin/sh", too.
Diffstat (limited to 'news/inn/files/innd.sh')
-rw-r--r--news/inn/files/innd.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/news/inn/files/innd.sh b/news/inn/files/innd.sh
index 259b6b4d824..f832407ecf6 100644
--- a/news/inn/files/innd.sh
+++ b/news/inn/files/innd.sh
@@ -1,10 +1,10 @@
#!/bin/sh
#
-# $NetBSD: innd.sh,v 1.3 1999/07/24 17:07:27 tron Exp $
+# $NetBSD: innd.sh,v 1.4 1999/07/24 17:38:14 tron Exp $
#
if [ -x @@PREFIX@@/bin/rc.news -a -s @@INN_DATA_DIR@@/db/active ];
then
- su news @@PREFIX@@/bin/rc.news >/dev/null
+ su news -c @@PREFIX@@/bin/rc.news >/dev/null
echo -n ' innd'
fi
exit 0