#!/bin/bash
+PATH="/usr/bin:/bin:/usr/sbin:/sbin"
CMD=$1
for file in $list1
do
if [ $CMD == "msg" ]; then
- echo $MSG
+ echo "$MSG ($file)"
elif [ $CMD == "del" ]; then
buxton2ctl -d -i unset memory $file
fi
for file in $list2
do
if [ $CMD == "msg" ]; then
- echo $MSG
+ echo "$MSG ($file)"
elif [ $CMD == "del" ]; then
buxton2ctl -d -i unset system $file
fi