[livecd] only heck on systemd for net fix
This commit is contained in:
parent
901febead5
commit
1a74b93d5b
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ configure_calamares_live
|
|||
/etc/skel/Manjaro/Beginner_User_Guide.pdf "/home/${username}/Desktop/Beginner User Guide.pdf"
|
||||
|
||||
# disable network (workaround for lightdm)
|
||||
if [[ -e "/usr/bin/lightdm" ]]; then
|
||||
if [[ -d /run/systemd ]] && [[ -e "/usr/bin/lightdm" ]]; then
|
||||
for eth in $(ifconfig | grep ': ' | cut -d: -f1); do
|
||||
ifconfig $eth down
|
||||
echo "$eth" >> /tmp/ifconfig.devices
|
||||
|
|
Loading…
Reference in a new issue