At first boot creating only root and already configured users.

master3.3
Mike Hiretsky 13 years ago
parent 61664b8088
commit 364a29a787

@ -101,7 +101,11 @@ configure_users() {
then
for user in $(variable_value cl_migrate_user | sed -r "s/[][,']//g")
do
cl-desktop $user
HOME_DIR=`getent passwd $user | awk -F: '{ print( $6 ); }'`
if [[ $user == "root" ]] || [[ -f $HOME_DIR/.calculate/ini.env ]]
then
cl-desktop $user
fi
done
fi
}

Loading…
Cancel
Save