Just rely on the ISO autostart to set it instead of detecting it
This commit is contained in:
parent
ccc8aa87d0
commit
455fe890ec
@ -1,8 +1,4 @@
|
|||||||
# Chroot installations have some differences
|
# Starting the installer with OMARCHY_CHROOT_INSTALL=1 will put it into chroot mode
|
||||||
if ! cmp -s /proc/1/root/ / 2>/dev/null; then
|
|
||||||
export OMARCHY_CHROOT_INSTALL=1
|
|
||||||
fi
|
|
||||||
|
|
||||||
chrootable_systemctl_enable() {
|
chrootable_systemctl_enable() {
|
||||||
if [ -n "${OMARCHY_CHROOT_INSTALL:-}" ]; then
|
if [ -n "${OMARCHY_CHROOT_INSTALL:-}" ]; then
|
||||||
sudo systemctl enable $1
|
sudo systemctl enable $1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user