mirror of
https://github.com/buanet/ioBroker.docker.git
synced 2025-12-19 03:19:01 +02:00
Whitespace fixes
This commit is contained in:
12
debian/scripts/maintenance.sh
vendored
12
debian/scripts/maintenance.sh
vendored
@@ -30,8 +30,8 @@ display_help() {
|
|||||||
echo "OPTIONS"
|
echo "OPTIONS"
|
||||||
echo "------------------"
|
echo "------------------"
|
||||||
echo " -y|--yes > confirms the used command without asking"
|
echo " -y|--yes > confirms the used command without asking"
|
||||||
echo " -h|--help > shows this help"
|
echo " -h|--help > shows this help"
|
||||||
echo ''
|
echo ''
|
||||||
exit 0
|
exit 0
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -131,7 +131,7 @@ switch_off() {
|
|||||||
# upgrade js-controller
|
# upgrade js-controller
|
||||||
upgrade() {
|
upgrade() {
|
||||||
if [ "$autoconfirm" == "no" ]
|
if [ "$autoconfirm" == "no" ]
|
||||||
then
|
then
|
||||||
echo 'You are now going to upgrade your js-controller.'
|
echo 'You are now going to upgrade your js-controller.'
|
||||||
echo 'As this will change data in /opt/iobroker, make sure you have a backup!'
|
echo 'As this will change data in /opt/iobroker, make sure you have a backup!'
|
||||||
echo 'During the upgrade process the container will automatically switch into maintenance mode and stop ioBroker.'
|
echo 'During the upgrade process the container will automatically switch into maintenance mode and stop ioBroker.'
|
||||||
@@ -161,8 +161,8 @@ upgrade() {
|
|||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
elif [ "$autoconfirm" == "yes" ]
|
elif [ "$autoconfirm" == "yes" ]
|
||||||
then
|
then
|
||||||
echo 'You are now going to upgrade your js-controller.'
|
echo 'You are now going to upgrade your js-controller.'
|
||||||
echo 'As this will change data in /opt/iobroker, make sure you have a backup!'
|
echo 'As this will change data in /opt/iobroker, make sure you have a backup!'
|
||||||
echo 'During the upgrade process the container will automatically switch into maintenance mode and stop ioBroker.'
|
echo 'During the upgrade process the container will automatically switch into maintenance mode and stop ioBroker.'
|
||||||
echo 'Depending of the restart policy, your container will be stopped or restarted automatically after the upgrade.'
|
echo 'Depending of the restart policy, your container will be stopped or restarted automatically after the upgrade.'
|
||||||
@@ -198,7 +198,7 @@ for i in "$@"; do
|
|||||||
reverse="$i $reverse"
|
reverse="$i $reverse"
|
||||||
done
|
done
|
||||||
|
|
||||||
# checking the arguments
|
# checking the arguments
|
||||||
for i in $reverse; do
|
for i in $reverse; do
|
||||||
case $i in
|
case $i in
|
||||||
help|-h|--help)
|
help|-h|--help)
|
||||||
|
|||||||
Reference in New Issue
Block a user