Commit b85d87a9 authored by Michael Ott's avatar Michael Ott Committed by root
Browse files

Modified sysfspusher init.d script to work at JSC

parent 742c958e
......@@ -16,7 +16,7 @@ case $1 in
echo "Starting SysFsPusher"
DEVICEID=`ifconfig eth0|awk -F':' '/HWaddr/ { print $4$5$6$7 }'`
BIC=$((`hostname -s| sed 's/deep-bic\([0-9]*\)/\1/'`-1))
BIC=$((`hostname -s| sed 's/\(deep-\)*bic\([0-9]*\)/\2/'`-1))
printf -v TOPIC "/00/00/0000/%02X/%02X/FF/FF/%08s/0000" $CHASSISID $BICID $DEVICEID
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment