diff options
| author | Christian Rößler | 2015-09-14 13:21:55 +0200 |
|---|---|---|
| committer | Christian Rößler | 2015-09-14 13:21:55 +0200 |
| commit | 92c04f646e86f01425e1e1ac3382498f0c189302 (patch) | |
| tree | e8954c04587ee70230cd7f5c3ecf62c9b5f4f813 /remote/rootfs | |
| parent | [runvirt] [vmware] Minor cosmetics, logging (diff) | |
| parent | [binutil] Fix accidental exclusion of libs by using full path for automatic b... (diff) | |
| download | tm-scripts-92c04f646e86f01425e1e1ac3382498f0c189302.tar.gz tm-scripts-92c04f646e86f01425e1e1ac3382498f0c189302.tar.xz tm-scripts-92c04f646e86f01425e1e1ac3382498f0c189302.zip | |
Merge branch 'master' of git.openslx.org:openslx-ng/tm-scripts
Diffstat (limited to 'remote/rootfs')
| -rwxr-xr-x | remote/rootfs/rootfs-stage32/data/opt/openslx/bin/slxlog | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/remote/rootfs/rootfs-stage32/data/opt/openslx/bin/slxlog b/remote/rootfs/rootfs-stage32/data/opt/openslx/bin/slxlog index 08852352..52320c1a 100755 --- a/remote/rootfs/rootfs-stage32/data/opt/openslx/bin/slxlog +++ b/remote/rootfs/rootfs-stage32/data/opt/openslx/bin/slxlog @@ -8,6 +8,8 @@ # -e or --echo will echo message to stdout too # +export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/openslx/sbin:/opt/openslx/bin" + . /opt/openslx/config [ -z "$SLX_REMOTE_LOG" ] && exit 3 @@ -47,7 +49,7 @@ if [ $# -lt 2 ]; then else MSG="$2" fi -USER=$(/usr/bin/whoami) +USER=$(whoami) MSG="[$USER] $MSG" if [ $# -gt 2 ]; then |
