瀏覽代碼

Stick with default login for mesh clients

Bob Mottram 8 年之前
父節點
當前提交
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