more cleaning of the messages that show up when doing a 'service plc stop'
[myplc.git] / plc.d / bootmanager
index 8a48e3b..bdc05bc 100755 (executable)
@@ -7,7 +7,7 @@
 # Mark Huang <mlhuang@cs.princeton.edu>
 # Copyright (C) 2006 The Trustees of Princeton University
 #
-# $Id: bootmanager,v 1.3 2006/06/23 20:29:22 mlhuang Exp $
+# $Id$
 #
 
 # Source function library and configuration
@@ -31,6 +31,18 @@ case "$1" in
        pushd /var/www/html/boot
        /usr/share/bootmanager/build.sh
        check
+
+       dirlist="" 
+       for i in `ls`; do 
+               if [ -d $i ]; then 
+                       dirlist="$dirlist $i" 
+               fi
+       done
+       for dir in $dirlist ; do 
+               echo -n " $dir"
+               /usr/share/bootmanager/build.sh $dir
+               check
+       done
        popd
 
        result "$MESSAGE"