瀏覽代碼

Enable batman daemon on mesh client

Bob Mottram 8 年之前
父節點
當前提交
dc0d04ca1d
共有 1 個文件被更改,包括 4 次插入2 次删除
  1. 4
    2
      src/freedombone-image-customise

+ 4
- 2
src/freedombone-image-customise 查看文件

288
  |    |   (.-' (.-' (   | (   )|  |  | |   )(   )|  | (.-'
288
  |    |   (.-' (.-' (   | (   )|  |  | |   )(   )|  | (.-'
289
  '    '     --'  --'  -' -  -' '  '   -' -'   -' '   -  --'
289
  '    '     --'  --'  -' -  -' '  '   -' -'   -' '   -  --'
290
 
290
 
291
-				   Initial setup process
291
+                   Initial setup process
292
 
292
 
293
-		  Please enter your password a second time.
293
+          Please enter your password a second time.
294
 "
294
 "
295
 	sudo su
295
 	sudo su
296
 fi
296
 fi
1104
 
1104
 
1105
 		echo '[[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && exec startx' >> $rootdir/home/$MY_USERNAME/.profile
1105
 		echo '[[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && exec startx' >> $rootdir/home/$MY_USERNAME/.profile
1106
 
1106
 
1107
+        chroot "$rootdir" systemctl set-default multi-user.target
1108
+
1107
 		# change the desktop background
1109
 		# change the desktop background
1108
 		if [ $MESH_DESKTOP_BACKGROUND_IMAGE ]; then
1110
 		if [ $MESH_DESKTOP_BACKGROUND_IMAGE ]; then
1109
 			if [ -f $MESH_DESKTOP_BACKGROUND_IMAGE ]; then
1111
 			if [ -f $MESH_DESKTOP_BACKGROUND_IMAGE ]; then