Permalink
Browse files

Create library_contents.XX for non default configs

Signed-off-by: Mark Harvey <markh794@gmail.com>
  • Loading branch information...
1 parent efdb31c commit ee6196739eb64bc6fd3f863833374e417c7febd0 @markh794 committed Feb 27, 2013
Showing with 9 additions and 0 deletions.
  1. +9 −0 etc/mhvtl.in
View
@@ -314,6 +314,15 @@ CONF_SAMPLE
printf "Slot 40: CLN%02d3TA\n" $LIBID \
>> $MHVTL_CONFIG_PATH/library_contents.$LIBID
fi # End if [$LIBID == 30 ]
+
+ # Not a library this script created, but create some
+ # slots anyway
+ if [ $LIBID != 10 ] && [ $LIBID != 30 ]; then
+ for a in `seq 1 39`; do
+ printf "Slot $a: M0%02d%02d\n" $LIBID $a \
+ >> $MHVTL_CONFIG_PATH/library_contents.$LIBID
+ done
+ fi
fi
done

0 comments on commit ee61967

Please sign in to comment.