Package: fai
Version: 2.8.4
Tags: patch

On my sparc systems, I also added a script called SPARC, but then FAI tells me:

Script, matching S* will not be executed in the future. Please use names 
matching [0-9][0-9]*
Executing   sh -x shell: SPARC
SPARC                OK.

The patch below at least limits these messages to scripts matching S[0-9][0-9]*,
although even those could also match valid class names.

diff -rN -u old-MT_FAI/scripts/fai-do-scripts new-MT_FAI/scripts/fai-do-scripts
--- old-MT_FAI/scripts/fai-do-scripts   2005-05-17 15:01:06.000000000 +0200
+++ new-MT_FAI/scripts/fai-do-scripts   2005-05-27 09:57:50.000000000 +0200
@@ -80,7 +80,7 @@
        *~) echo "Skipping backup file $file" ; return ;;
     esac
     case $file in
-       S*) echo "Script, matching S* will not be executed in the future. 
Please use names matching [0-9][0-9]*" ;;
+       S[0-9][0-9]*) echo "Script, matching S[0-9][0-9]* will not be executed 
in the future. Please use names matching [0-9][0-9]*" ;;
     esac
 
     filetype=$(file $file)




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to