diff --git a/files/alfred.sh.j2 b/files/alfred.sh.j2 new file mode 100644 index 0000000..c479855 --- /dev/null +++ b/files/alfred.sh.j2 @@ -0,0 +1,66 @@ +#!/bin/sh + +release=$(/bin/uname -r) +nodeid=$( /bin/echo {{ sn_mesh_MAC }} | /bin/sed s/://g) +meshh_if=$(/bin/cat /sys/class/net/*/address | /bin/grep -v ^00:00:00) +tempfile=/tmp/alfred_info + +if [ -f $tempfile ] + then + /bin/rm $tempfile +fi + +/bin/cat > $tempfile <