mirror of
https://github.com/troglobit/finit.git
synced 2026-11-08 16:11:10 +00:00
Add --enable-quiet to configure, makes Finit real quiet.
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
2026486fda
commit
0dd97de046
9 files changed
+56
-30
No files matched your search
@@ -28,6 +28,7 @@ defaults()
|
||||
debug=${debug:=0}
|
||||
embedded=${embedded:=0}
|
||||
inetd=${inetd:=1}
|
||||
verbose=${verbose:=1}
|
||||
static=${static:=0}
|
||||
disable_plugins=${disable_plugins:=0}
|
||||
}
|
||||
@@ -59,8 +60,13 @@ fi
|
||||
else
|
||||
echo "Inetd : DISABLED"
|
||||
fi
|
||||
if [ $verbose -ne 1 ]; then
|
||||
echo "Quiet Finit : YES"
|
||||
else
|
||||
echo "Quiet Finit : NO, verbose output (default)"
|
||||
fi
|
||||
if [ $static -ne 0 ]; then
|
||||
echo "Static finit : YES"
|
||||
echo "Static Finit : YES"
|
||||
fi
|
||||
if [ $disable_plugins -eq 1 ]; then
|
||||
echo "Plugins : DISABLED"
|
||||
@@ -98,7 +104,8 @@ usage()
|
||||
echo
|
||||
echo " --enable-embedded Enable embedded defaults, BusBox getty, mdev etc."
|
||||
echo " --enable-debug Enable debug flags, '-O0, -g'"
|
||||
echo " --enable-static Link finit statically. This disables a few features."
|
||||
echo " --enable-quiet Quiet mode, reduce screen output to absolute minimum."
|
||||
echo " --enable-static Link statically. This disables a few features."
|
||||
echo " --disable-inetd Disable inetd support if not needed."
|
||||
echo " --disable-plugins Disable plugins"
|
||||
echo
|
||||
@@ -171,6 +178,14 @@ while [ "$*" != "" ]; do
|
||||
embedded=1
|
||||
;;
|
||||
|
||||
enable-quiet)
|
||||
verbose=0
|
||||
;;
|
||||
|
||||
enable-static)
|
||||
static=1
|
||||
;;
|
||||
|
||||
disable-inetd)
|
||||
inetd=0
|
||||
;;
|
||||
@@ -179,10 +194,6 @@ while [ "$*" != "" ]; do
|
||||
disable_plugins=1
|
||||
;;
|
||||
|
||||
enable-static)
|
||||
static=1
|
||||
;;
|
||||
|
||||
help)
|
||||
usage
|
||||
;;
|
||||
@@ -263,6 +274,7 @@ if [ x"$heading" != x"" ]; then
|
||||
echo "#define INIT_HEADING \"$heading\"" >> config.h
|
||||
fi
|
||||
|
||||
echo "#define VERBOSE_MODE $verbose" >> config.h
|
||||
echo "#define FINIT_FIFO \"$fifo\"" >> config.h
|
||||
echo "#define FINIT_CONF \"$config\"" >> config.h
|
||||
echo "#define FINIT_RCSD \"$rcsd\"" >> config.h
|
||||
|
||||
Reference in new issue
Block a user