Public feed #1033271

Miscellany

public shellscript v1 · immutable
Raw Edit
·published 2008-05-29 17:50 UTC
rendered paste body
#!/bin/bash -eget_data() {	MHZ="CPU: "$(cpufreq-info | tail -n 1 | cut -d" " -f 7-)	CPUTEMP="Temperatur: "$( calc -p `cat /sys/class/thermal/thermal_zone1/temp`/1000)"C"	SSID=$(/sbin/iwconfig | grep eth1 | cut -d" " -f 10-)	SIGNAL=$(/sbin/iwconfig | grep Link | cut -d" " -f 11-12)	NEWLINE=$(echo "                                ")}get_datanotify-send "$MHZ $NEWLINE $CPUTEMP $NEWLINE $SSID $NEWLINE $SIGNAL"