#!/bin/bash
dir=(/server/BlackCustomer /server/product /server/Renewal /server/shortmessage /server/TrafficPool)
for i in ${dir[*]};do
touch $i/start.sh
Filename=`basename $i`
echo '#!/bin/bash'>$i/start.sh
echo "echo $Filename">>$i/start.sh
done