summaryrefslogtreecommitdiff
path: root/etc.BSD
diff options
context:
space:
mode:
Diffstat (limited to 'etc.BSD')
-rw-r--r--etc.BSD/Makefile8
-rw-r--r--etc.BSD/rc.in2
-rw-r--r--etc.BSD/rc.shutdown.in2
3 files changed, 4 insertions, 8 deletions
diff --git a/etc.BSD/Makefile b/etc.BSD/Makefile
index 083823e..ec3153c 100644
--- a/etc.BSD/Makefile
+++ b/etc.BSD/Makefile
@@ -1,8 +1,5 @@
DIR= /etc
-SRCS= rc.in rc.shutdown.in
-OBJS= ${SRCS:.in=}
-CONF= ${OBJS}
-
+CONF= ${CONTENTS}
MK= ../mk
include ${MK}/scripts.mk
@@ -10,5 +7,4 @@ include Makefile.${OS}
.SUFFIXES: .in
.in:
- sed -e s':@TERM@:${DEFTERM}:' $< > $@
-
+ sed -e 's:@SHELL@:${SHELL}:' -e 's:@TERM@:${DEFTERM}:' $< > $@
diff --git a/etc.BSD/rc.in b/etc.BSD/rc.in
index 255ff72..aab7cbb 100644
--- a/etc.BSD/rc.in
+++ b/etc.BSD/rc.in
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!@SHELL@
# Copyright 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
diff --git a/etc.BSD/rc.shutdown.in b/etc.BSD/rc.shutdown.in
index 48abe70..e26e846 100644
--- a/etc.BSD/rc.shutdown.in
+++ b/etc.BSD/rc.shutdown.in
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!@SHELL@
# Copyright 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.