Permalink
Browse files

Merge pull request #174 from yakaz/install-freebsd

scripts/Install: Create ${etcdir}/rc.d on FreeBSD
  • Loading branch information...
2 parents e00ac65 + ab4708c commit 3bd2cbfb2f986906427dec3621fe20d644a24ca3 @vinoski vinoski committed Apr 14, 2014
Showing with 1 addition and 0 deletions.
  1. +1 −0 scripts/Install
View
@@ -82,6 +82,7 @@ elif [ "`uname -s`" = "Darwin" -a `id -u` = 0 ]; then
# MacOS is particular about the ownership of startup items.
chown -R root:wheel ${startupdir}
elif [ "`uname -s`" = "FreeBSD" ]; then
+ install -d ${destdir}${etcdir}/rc.d
sed -e "s;%prefix%;$p;g" -e "s;%etcdir%;$e;g" \
freebsd/yaws > ${destdir}${etcdir}/rc.d/yaws
elif [ "`uname -s`" = "NetBSD" ]; then

0 comments on commit 3bd2cbf

Please sign in to comment.