]> git.pld-linux.org Git - projects/rc-scripts.git/commitdiff
Rename PROMPT to RC_PROMPT (PROMPT is internal zsh variable). Fixed RC_PROMPT testing...
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Sun, 5 Feb 2006 15:32:04 +0000 (15:32 +0000)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Sun, 5 Feb 2006 15:32:04 +0000 (15:32 +0000)
svn-id: @6922

rc.d/rc.sysinit
sysconfig/system

index bddb5951da14780be3ead14c969aacfa8f6a3b06..410d7c0ac24a1e77effa5fd242115c929be61770 100755 (executable)
@@ -126,7 +126,7 @@ fi
 
 # Print welcome message
 nls "\t\t\t%sPowered by %sPLD Linux Distribution%s" "$(termput setaf $CPOWEREDBY)" "$(termput setaf $CPLD)" "$(termput op)"
-if is_yes "$PROMPT"; then
+if ! is_no "$RC_PROMPT"; then
        nls -n "\t\t  Press %sI%s to enter interactive startup" "$(termput setaf $CI)" "$(termput op)"
        echo
        sleep 1
@@ -862,7 +862,7 @@ fi
 
 kill -TERM $(/sbin/pidof getkey) >/dev/null 2>&1
 } &
-if is_yes "$PROMPT"; then
+if ! is_no "$RC_PROMPT"; then
        /sbin/getkey -c 5 i && touch /var/run/confirm
 fi
 wait
index 77ab7d47ad4e9009d93e36d99df955ccec0de865..2d484f42044f2f4cb85efaaee7690c959a7535d8 100644 (file)
@@ -86,7 +86,7 @@ EVMS_AIX=no
 EVMS_OS2=no
 
 # Set to anything other than 'no' to allow hotkey interactive startup...
-PROMPT=yes
+RC_PROMPT=yes
 
 # List of chroots separated by space (to handle processes inside/outside
 # chroot properly)
This page took 0.041131 seconds and 4 git commands to generate.