freebsd-ports/www/slash/files/patch-util::slash
Yen-Ming Lee b1b9f901a7 update for rc.d/ startup issues
Submitted by:	Autrijus Tang <autrijus@autrijus.org>
2004-03-06 06:06:08 +00:00

11 lines
455 B
Text

--- utils/slash.orig Thu Nov 1 01:13:59 2001
+++ utils/slash Sat Jun 8 13:39:11 2002
@@ -66,7 +66,7 @@
# if you aren't using GMT for internal dates, please change
# the appropriate lines, below.
if [ "$OS" = "FreeBSD" ] ; then
- su - $USERNAME "-c 'TZ=GMT $SLASHD $SERVER_NAME'" &
+ TZ=GMT su -m $USERNAME -c "$SLASHD $SERVER_NAME" &
elif [ "$OS" = "Linux" ] ; then
su - $USERNAME -c "TZ=GMT $SLASHD $SERVER_NAME" &
else