mirror of
https://github.com/troglobit/finit.git
synced 2026-11-19 19:40:50 +00:00
Minor, consistency in presentation
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
858f793ad2
commit
7ef3959a45
3 files changed
+7
-7
No files matched your search
@@ -11,12 +11,12 @@ fi
|
|||||||
if [ -e alpine-release ]; then
|
if [ -e alpine-release ]; then
|
||||||
cd ../..
|
cd ../..
|
||||||
elif [ ! -e autogen.sh ]; then
|
elif [ ! -e autogen.sh ]; then
|
||||||
echo "Please run this script from the Finit base directory."
|
echo "*** Please run this script from the Finit base directory."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo
|
echo
|
||||||
echo "Install Finit on Alpine Linux"
|
echo "*** Install Finit on Alpine Linux"
|
||||||
echo "========================================================================"
|
echo "========================================================================"
|
||||||
echo "/sbin/finit - PID 1"
|
echo "/sbin/finit - PID 1"
|
||||||
echo "/lib/finit/plugins/* - All enabled Finit plugins"
|
echo "/lib/finit/plugins/* - All enabled Finit plugins"
|
||||||
|
|||||||
@@ -12,12 +12,12 @@ grep -q Debian os-release 2>/dev/null
|
|||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
cd ../..
|
cd ../..
|
||||||
elif [ ! -e autogen.sh ]; then
|
elif [ ! -e autogen.sh ]; then
|
||||||
echo "Please run this script from the Finit base directory."
|
echo "*** Please run this script from the Finit base directory."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo
|
echo
|
||||||
echo "Install Finit on Debian GNU/Linux"
|
echo "*** Install Finit on Debian GNU/Linux"
|
||||||
echo "========================================================================"
|
echo "========================================================================"
|
||||||
echo "/sbin/finit - PID 1"
|
echo "/sbin/finit - PID 1"
|
||||||
echo "/lib/finit/plugins/* - All enabled Finit plugins"
|
echo "/lib/finit/plugins/* - All enabled Finit plugins"
|
||||||
@@ -35,7 +35,7 @@ if [ "x$yorn" = "xy" -o "x$yorn" = "xY" ]; then
|
|||||||
install -vbD finit.conf /etc/finit.conf
|
install -vbD finit.conf /etc/finit.conf
|
||||||
cp -va finit.d /etc/
|
cp -va finit.d /etc/
|
||||||
|
|
||||||
echo "Setting up a GRUB boot entry ..."
|
echo "*** Setting up a GRUB boot entry ..."
|
||||||
MENU=`grep gnu-linux /boot/grub/grub.cfg |head -1 |sed "s/menuentry '\([^']*\).*/\1/"`
|
MENU=`grep gnu-linux /boot/grub/grub.cfg |head -1 |sed "s/menuentry '\([^']*\).*/\1/"`
|
||||||
TYPE=`grep gnu-linux /boot/grub/grub.cfg |head -1 |sed "s/.*' --class \([a-z]*\).*/\1/"`
|
TYPE=`grep gnu-linux /boot/grub/grub.cfg |head -1 |sed "s/.*' --class \([a-z]*\).*/\1/"`
|
||||||
BOOT=`grep set=root /boot/grub/grub.cfg |head -1 |sed 's/.* \([a-f0-9]*-[a-f0-9]*-[a-f0-9]*-[a-f0-9]*-[a-f0-9]*\).*/\1/'`
|
BOOT=`grep set=root /boot/grub/grub.cfg |head -1 |sed 's/.* \([a-f0-9]*-[a-f0-9]*-[a-f0-9]*-[a-f0-9]*-[a-f0-9]*\).*/\1/'`
|
||||||
|
|||||||
@@ -11,12 +11,12 @@ fi
|
|||||||
if [ -e xbps ]; then
|
if [ -e xbps ]; then
|
||||||
cd ../..
|
cd ../..
|
||||||
elif [ ! -e autogen.sh ]; then
|
elif [ ! -e autogen.sh ]; then
|
||||||
echo "Please run this script from the Finit base directory."
|
echo "*** Please run this script from the Finit base directory."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo
|
echo
|
||||||
echo "Install Finit on Void Linux"
|
echo "*** Install Finit on Void Linux"
|
||||||
echo "========================================================================"
|
echo "========================================================================"
|
||||||
echo "/sbin/finit - PID 1"
|
echo "/sbin/finit - PID 1"
|
||||||
echo "/lib/finit/plugins/* - All enabled Finit plugins"
|
echo "/lib/finit/plugins/* - All enabled Finit plugins"
|
||||||
|
|||||||
Reference in new issue
Block a user