Install a proper #!/bin/sh style rc.local on Void Linux

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson committed 2017-10-18 10:18:11 +02:00
1 parent bacaea0e02
commit 3ebb697910
2 files changed
+10 -1

No files matched your search

+3 -1
View File
@@ -31,7 +31,9 @@ if [ "x$yorn" = "xy" -o "x$yorn" = "xY" ]; then
echo "*** Installing Finit files ..."
make install
cd `dirname $0`
install -vbD finit.conf /etc/finit.conf
for file in finit.conf rc.local; do
install -vbD $file /etc/$file
done
cp -va finit.d /etc/
read -p "*** Install Finit as the system default Init (y/N)? " yorn