From: Thibault Godouet Date: Thu, 1 Mar 2001 18:40:03 +0000 (+0000) Subject: added a message telling user he may get several propositions for doing something... X-Git-Tag: ver2_9_4~394 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=30337d205dced5ab39bab4b2697bc0716305ebd0;p=thirdparty%2Ffcron.git added a message telling user he may get several propositions for doing something by the script --- diff --git a/script/boot-install b/script/boot-install index 0a8ba9d..0d3d517 100755 --- a/script/boot-install +++ b/script/boot-install @@ -2,7 +2,7 @@ # Install fcron under SysV system. # -# $Id: boot-install,v 1.27 2001-02-14 13:49:36 thib Exp $ +# $Id: boot-install,v 1.28 2001-03-01 18:40:03 thib Exp $ # take 5 arguments : the name of the BSD-like install program (with "-o" and the correct username) # the DESTSBIN directory @@ -42,6 +42,9 @@ echo echo "Fcron should be started by your init scripts." echo "The installation process is going to try to install fcron in them." echo +echo "Note that if you answer no to a proposition made at this point by" +echo "the installation script, it will try to propose another way to do it." +echo INSTALL="nothing" SYSV=0 @@ -84,7 +87,7 @@ fi INSTALL="nothing" -if test -f /etc/rc.d/rc.M; then +if test \( ! "$INSTALLED" -eq 1 \) -a \( -f /etc/rc.d/rc.M \); then # Slackware if ! cat /etc/rc.d/rc.local | grep "$STARTCMD"; then if cat /etc/rc.d/rc.local | grep fcron; then