cbox-build.sh: 'ssh' action added

cbox-build.sh: create local configuration directories automatically
This commit is contained in:
lars 2005-09-05 15:27:45 +00:00
parent bd49326856
commit 1f57d14ed1
1 changed files with 9 additions and 0 deletions

View File

@ -229,6 +229,12 @@ function blanknburn_cdrw()
[ $# -eq 0 ] && echo "[`basename $0`] - no arguments supplied - maybe you want to use '--help'"
# initialize local directories (easier for users)
for a in $LOCALCONF_DIR $CUSTOM_CONFIGURE_DIR
do [ ! -e "$a" ] && mkdir "$a"
done
while [ $# -gt 0 ]
do case "$1" in
dfsbuild )
@ -263,6 +269,9 @@ while [ $# -gt 0 ]
else chroot "$IMAGE_DIR" "$CHROOT_START"
fi
;;
ssh )
ssh -F "$SSH_CONFIG_FILE" "$SSH_HOST"
;;
burn )
blanknburn_cdrw
;;