@@ -87,24 +87,24 @@
mkdir -p /etc/sysconfig/network/scripts
cat > /etc/sysconfig/network/scripts/dsu-up.sh << EOF
#!/bin/bash
-SCRIPTNAME=$0
+SCRIPTNAME=\$0
function add_dsu_repo {
- WGET=$(which wget 2>/dev/null)
- BASH=$(which bash 2>/dev/null)
- if [ -x "${WGET}" -a -x "${BASH}" ] ; then
- ${WGET} -q -O - http://linux.dell.com/repo/hardware/dsu/bootstrap.cgi | ${BASH}
+ WGET=\$(which wget 2>/dev/null)
+ BASH=\$(which bash 2>/dev/null)
+ if [ -x "\${WGET}" -a -x "\${BASH}" ] ; then
+ \${WGET} -q -O - http://linux.dell.com/repo/hardware/dsu/bootstrap.cgi | \${BASH}
fi
}
function install_dsu {
- ZYPPER=$(which zypper 2>/dev/null)
- if [ -x "${ZYPPER}" ] ; then
- ${ZYPPER} -n in dell-system-update
+ ZYPPER=\$(which zypper 2>/dev/null)
+ if [ -x "\${ZYPPER}" ] ; then
+ \${ZYPPER} -n in dell-system-update
fi
}
-case $SCRIPTNAME in
+case \${SCRIPTNAME} in
*if-up.d*)
add_dsu_repo
install_dsu
|