Преглед на файлове

Stick with default login for mesh clients

Bob Mottram преди 9 години
родител
ревизия
0645f82d30
променени са 1 файла, в които са добавени 5 реда и са изтрити 0 реда
  1. 5
    0
      src/freedombone-image-customise

+ 5
- 0
src/freedombone-image-customise Целия файл

254
 		touch $rootdir/root/.initial_mesh_setup
254
 		touch $rootdir/root/.initial_mesh_setup
255
 	fi
255
 	fi
256
 
256
 
257
+	# Stick with the existing login for mesh clients
258
+	if [[ $VARIANT == "meshclient" || $VARIANT == "meshusb" ]]; then
259
+		return
260
+	fi
261
+
257
 	# The presence of this file indicates that the initial
262
 	# The presence of this file indicates that the initial
258
 	# setup has not yet been completed
263
 	# setup has not yet been completed
259
 	touch $rootdir/home/$MY_USERNAME/.initial_setup
264
 	touch $rootdir/home/$MY_USERNAME/.initial_setup