mirror of
https://github.com/troglobit/finit.git
synced 2026-11-03 13:28:27 +00:00
Install a proper #!/bin/sh style rc.local on Void Linux
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
bacaea0e02
commit
3ebb697910
2 files changed
+10
-1
No files matched your search
@@ -31,7 +31,9 @@ if [ "x$yorn" = "xy" -o "x$yorn" = "xY" ]; then
|
|||||||
echo "*** Installing Finit files ..."
|
echo "*** Installing Finit files ..."
|
||||||
make install
|
make install
|
||||||
cd `dirname $0`
|
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/
|
cp -va finit.d /etc/
|
||||||
|
|
||||||
read -p "*** Install Finit as the system default Init (y/N)? " yorn
|
read -p "*** Install Finit as the system default Init (y/N)? " yorn
|
||||||
|
|||||||
Executable
+7
@@ -0,0 +1,7 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
# This script is executed once at boot, at the very end,
|
||||||
|
# right before starting the TTYs.
|
||||||
|
#
|
||||||
|
# Each line is run in sequence.
|
||||||
|
#
|
||||||
|
# NOTE: Remeber to set the executable bit!
|
||||||
Reference in new issue
Block a user