summaryrefslogtreecommitdiffstats
path: root/helper
diff options
context:
space:
mode:
authorJonathan Bauer2013-03-13 18:34:49 +0100
committerJonathan Bauer2013-03-13 18:34:49 +0100
commit8fae92a3f2c82882d25ea9d1d9c0d998c5b235de (patch)
tree3c9df0397bc182a3f007c6ab9b60da80cd296e6f /helper
parentMerge branch 'master' of git.openslx.org:openslx-ng/tm-scripts (diff)
downloadtm-scripts-8fae92a3f2c82882d25ea9d1d9c0d998c5b235de.tar.gz
tm-scripts-8fae92a3f2c82882d25ea9d1d9c0d998c5b235de.tar.xz
tm-scripts-8fae92a3f2c82882d25ea9d1d9c0d998c5b235de.zip
fix bad config for policykit
Diffstat (limited to 'helper')
-rw-r--r--helper/system.inc8
1 files changed, 2 insertions, 6 deletions
diff --git a/helper/system.inc b/helper/system.inc
index b7d13416..1245687b 100644
--- a/helper/system.inc
+++ b/helper/system.inc
@@ -3,12 +3,8 @@
#
# determine architecture triplet from the path of libc needed by the executing shell.
ARCH_TRIPLET=$(ldd $SHELL|grep libc | awk -F "/" '{print $3}')
-[ ! -z $ARCH_TRIPLET ] && pinfo "Arch triplet of this machine: $ARCH_TRIPLET" \
- || pwarning "Could not determine arch triplet."
+[ ! -z $ARCH_TRIPLET ] || pwarning "Could not determine arch triplet."
# determine kernel version
KERNEL_VERSION=$(uname -r)
-[ ! -z $KERNEL_VERSION ] && pinfo "Kernel version: $KERNEL_VERSION" \
- || pwarning "Could not determine kernel version."
-
-
+[ ! -z $KERNEL_VERSION ] || pwarning "Could not determine kernel version."