Browse Source

Try with no su

Bob Mottram 9 years ago
parent
commit
411e3834e5
No account linked to committer's email
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/freedombone-image-customise

+ 1
- 1
src/freedombone-image-customise View File

@@ -374,7 +374,7 @@ continue_installation() {
374 374
 		if [ ${#CONFIG_FILENAME} -gt 2 ]; then
375 375
 			cp $CONFIG_FILENAME $rootdir/root/$PROJECT_NAME.cfg
376 376
 			cat $rootdir/root/$PROJECT_NAME.cfg
377
-			chroot "$rootdir" su -c "$PROJECT_NAME -c /root/$PROJECT_NAME.cfg" - root
377
+			chroot "$rootdir" $PROJECT_NAME -c /root/$PROJECT_NAME.cfg
378 378
 		fi
379 379
 	fi
380 380
 }