forked from pool/yast2-installation
23 lines
947 B
Diff
23 lines
947 B
Diff
--- startup/Second-Stage/S07-medium
|
|
+++ startup/Second-Stage/S07-medium
|
|
@@ -19,7 +19,7 @@
|
|
#=============================================
|
|
# 11.1) activate network if counfiguration found
|
|
#---------------------------------------------
|
|
-if [ ! -z $(ls /etc/sysconfig/network/ifcfg-* |grep -v 'ifcfg-lo') ] ;then
|
|
+if [ ! -z "$(ls /etc/sysconfig/network/ifcfg-* |grep -v 'ifcfg-lo')" ]; then
|
|
log "\tnetwork configuration found -> activate network"
|
|
rcnetwork start && Y2_NETWORK_ACTIVE=1
|
|
|
|
--- startup/Second-Stage/S08-start
|
|
+++ startup/Second-Stage/S08-start
|
|
@@ -17,7 +17,7 @@
|
|
# will be displayed on the controling terminal
|
|
# ---
|
|
disable_splash
|
|
-if [ "$VNC" -eq 1 ] || [ -z $USE_SSH ] || [ "$USE_SSH" -eq 0 ] ; then
|
|
+if [ "$VNC" -eq 1 ] || [ -z "$USE_SSH" ] || [ "$USE_SSH" -eq 0 ] ; then
|
|
log "\tStarting X11/VNC based session..."
|
|
#==================================================
|
|
# We are going to start a VNC or X11 based session
|