1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-14 20:22:08 +00:00

DHCPCD_PATH

This commit is contained in:
Jerry Vonau 2017-11-18 22:08:11 -05:00
parent ae5a8e9896
commit fd3d1ae86a

View file

@ -5,7 +5,7 @@ VERSION_ID=`grep VERSION_ID /etc/*elease | cut -d= -f2`
VERSION_ID=${VERSION_ID//\"/}
VERSION_ID=${VERSION_ID%%.*}
OS_VER=$OS-$VERSION_ID
DHCPCD=`which dhcpcd`
DHCPCD_PATH=`which dhcpcd`
case $OS_VER in
"fedora-18" | \
@ -53,6 +53,11 @@ else
STAGE=0
fi
ANSIBLE_VERSION=$(ansible --version|head -n 1|cut -f 2 -d " ")
if [ ! x$DHCPCD_PATH = x ]
then
DHCPCD=`systemctl is-enabled dhcpcd`
fi
cat <<EOF
{"phplib_dir" : "$PHPLIB_DIR",
"stage" : "$STAGE",