- if [ "$1" = "thinkpad" ]; then
- for file in `ls $dir_user_thinkpad`; do
- ln -fs $dir_user_thinkpad/$file ~/.$file
- done
- if [ "$2" = "X200s" ]; then
- for file in `ls $dir_user_X200s`; do
- ln -fs $dir_user_X200s/$file ~/.$file
- done
- else
- for file in `ls $dir_user_T450s`; do
- ln -fs $dir_user_T450s/$file ~/.$file
- done
- fi
- elif [ "$1" = "server" ]; then
- for file in `ls $dir_user_server`; do
- ln -fs $dir_user_server/$file ~/.$file
+ for file in `ls $dir_user_machine`; do
+ ln -fs $dir_user_machine/$file ~/.$file
+ done
+ for file in `ls $dir_user_variety`; do
+ ln -fs $dir_user_variety/$file ~/.$file
+ done
+ if [ ! "$3" = "" ]; then
+ for file in `ls $dir_user_subvariety`; do
+ ln -fs $dir_user_subvariety/$file ~/.$file