4 spaces indent
ensure 4 spaces indentation is used everywhere. Change-Id: Ieb48faacb4c96b7b358771d70c17f2f22d0354f4
This commit is contained in:
parent
83aee34534
commit
ea3f4dd459
@ -58,8 +58,8 @@ if [ "$rcode" == "200" -o "${url:0:7}" == "file://" ] ; then
|
||||
mv $tmp $dest
|
||||
fi
|
||||
fi
|
||||
# 213 is the response to a ftp MDTM command, curl outputs a 213 as the status
|
||||
# if the url redirected to a ftp server and Not-Modified
|
||||
# 213 is the response to a ftp MDTM command, curl outputs a 213 as the status
|
||||
# if the url redirected to a ftp server and Not-Modified
|
||||
elif [ "$rcode" = "304" -o "$rcode" = "213" ] ; then
|
||||
echo "Server copy has not changed. Using locally cached $url"
|
||||
rm -f $tmp
|
||||
|
@ -20,17 +20,17 @@ set -o xtrace
|
||||
dib-first-boot
|
||||
EOF
|
||||
|
||||
if [ $FILE_EXISTED ]
|
||||
then
|
||||
if [ $FILE_EXISTED ]
|
||||
then
|
||||
echo "mv $rc_local.REAL $rc_local" >> $rc_local
|
||||
else
|
||||
else
|
||||
echo "rm \$0" >> $rc_local
|
||||
fi
|
||||
|
||||
echo "exit 0" >> $rc_local
|
||||
|
||||
chmod 755 $rc_local
|
||||
|
||||
# Enable the service
|
||||
systemctl enable rc-local.service
|
||||
fi
|
||||
|
||||
echo "exit 0" >> $rc_local
|
||||
|
||||
chmod 755 $rc_local
|
||||
|
||||
# Enable the service
|
||||
systemctl enable rc-local.service
|
||||
fi
|
||||
|
@ -4,7 +4,7 @@ set -eu
|
||||
set -o pipefail
|
||||
|
||||
if [ -n "$DIB_RHSM_USER" ] && [ -n "$DIB_RHSM_PASSWORD" ]
|
||||
then
|
||||
then
|
||||
opts="--force"
|
||||
if [[ -n "$DIB_SAT_KEY" ]]; then
|
||||
opts="$opts --activationkey ${DIB_SAT_KEY}"
|
||||
|
@ -18,5 +18,5 @@ mv $rc_local.REAL $rc_local
|
||||
exit 0
|
||||
EOF
|
||||
|
||||
chmod 755 $rc_local
|
||||
chmod 755 $rc_local
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user