2 # Set the correct value as any other AWK variable:
4 # khatus_actuate_alert_to_notify_send -v Display="$CORRECT_DISPLAY"
6 Display = Display ? Display
: ":0"
15 sep = body ?
"\n" : ""
16 body = body sep
"--" msg
["node"] ":" msg
["module"]
17 urgency = msg
["priority"]
18 sub("hi" , "critical", urgency
)
19 sub("med", "normal" , urgency
)
23 "DISPLAY=%s notify-send -u %s %s \" %s\"",
24 Display
, urgency
, msg
["subject"], body \