[livecd] only heck on systemd for net fix

This commit is contained in:
udeved 2015-01-25 01:02:54 +01:00
parent 901febead5
commit 1a74b93d5b

View file

@ -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