summaryrefslogtreecommitdiffstats
path: root/dev-tools/exampleDracutModule
diff options
context:
space:
mode:
authorThiago Abdo2019-11-06 14:28:47 +0100
committerThiago Abdo2019-11-06 14:28:47 +0100
commit5d80709e96b74a27443ff6538f2c000442308471 (patch)
tree52a0f26694303206ad2ee112c4707fa0af5ca994 /dev-tools/exampleDracutModule
parentMerge branch 'centos8' of git.openslx.org:openslx-ng/systemd-init into centos8 (diff)
parentfix include (diff)
downloadsystemd-init-5d80709e96b74a27443ff6538f2c000442308471.tar.gz
systemd-init-5d80709e96b74a27443ff6538f2c000442308471.tar.xz
systemd-init-5d80709e96b74a27443ff6538f2c000442308471.zip
Merge branch 'nobash' into centos8
Diffstat (limited to 'dev-tools/exampleDracutModule')
-rwxr-xr-xdev-tools/exampleDracutModule/apply-package.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/dev-tools/exampleDracutModule/apply-package.sh b/dev-tools/exampleDracutModule/apply-package.sh
index 07d3c0a5..25a685b2 100755
--- a/dev-tools/exampleDracutModule/apply-package.sh
+++ b/dev-tools/exampleDracutModule/apply-package.sh
@@ -16,11 +16,11 @@ exceptions.try
slx_server_base="$(getarg slxbase=)"
exceptions.activate
- logging.info 'Getting package.'
+ echo 'Getting package.'
IFS_backup="$IFS"
IFS=','
for host in ${slx_server}; do
- logging.info "Trying host \"$host\"."
+ echo "Trying host \"$host\"."
if wget --timeout 5 \
"http://${host}/${slx_server_base}config.tar.gz" \
--output-document - | tar --extract --verbose --gzip --directory \
@@ -33,6 +33,6 @@ exceptions.try
}
exceptions.catch
{
- logging.error "$exceptions_last_traceback"
+ echo "$exceptions_last_traceback"
emergency_shell "error in ${BASH_SOURCE[0]}"
}