Try with no su
This commit is contained in:
parent
e48004d3d4
commit
411e3834e5
|
@ -374,7 +374,7 @@ continue_installation() {
|
||||||
if [ ${#CONFIG_FILENAME} -gt 2 ]; then
|
if [ ${#CONFIG_FILENAME} -gt 2 ]; then
|
||||||
cp $CONFIG_FILENAME $rootdir/root/$PROJECT_NAME.cfg
|
cp $CONFIG_FILENAME $rootdir/root/$PROJECT_NAME.cfg
|
||||||
cat $rootdir/root/$PROJECT_NAME.cfg
|
cat $rootdir/root/$PROJECT_NAME.cfg
|
||||||
chroot "$rootdir" su -c "$PROJECT_NAME -c /root/$PROJECT_NAME.cfg" - root
|
chroot "$rootdir" $PROJECT_NAME -c /root/$PROJECT_NAME.cfg
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue