mirror of
https://github.com/troglobit/finit.git
synced 2026-11-06 15:51:03 +00:00
Move all custom banner() handling to configure script.
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
195f17ae08
commit
231539cd7d
2 files changed
+8
-9
No files matched your search
@@ -13,6 +13,7 @@
|
||||
# Setup defaults if undefined
|
||||
defaults()
|
||||
{
|
||||
heading=${heading:='"Finit v" VERSION'}
|
||||
prefix=${prefix:="/usr"}
|
||||
sysconfdir=${sysconfdir:="/etc"}
|
||||
sbindir=${sbindir:="/sbin"}
|
||||
@@ -166,7 +167,7 @@ while [ "$*" != "" ]; do
|
||||
;;
|
||||
|
||||
with-heading)
|
||||
heading="$arg"
|
||||
heading="\"$arg\""
|
||||
;;
|
||||
|
||||
with-plugins)
|
||||
@@ -282,7 +283,7 @@ if [ $inetd -eq 0 ]; then
|
||||
fi
|
||||
|
||||
if [ x"$heading" != x"" ]; then
|
||||
echo "#define INIT_HEADING \"$heading\"" >> config.h
|
||||
echo "#define INIT_HEADING $heading" >> config.h
|
||||
fi
|
||||
|
||||
echo "#define VERBOSE_MODE $verbose" >> config.h
|
||||
|
||||
Reference in new issue
Block a user