Add option to install Finit as system default init
@@ -36,6 +36,15 @@ if [ "x$yorn" = "xy" -o "x$yorn" = "xY" ]; then
cp -va finit.d /etc/
echo "*** Done"
+ read -p "*** Install Finit as the system default Init (y/N)? " yorn
+ if [ "x$yorn" = "xy" -o "x$yorn" = "xY" ]; then
+ echo "*** Updating /sbin/init symlink --> finit ..."
+ cd /sbin
+ rm init
+ ln -s finit init
+ cd -
+ echo "*** Done"
+ fi
echo
else
echo
