分类: LINUX
2009-03-23 11:22:54
????ê?ò???shell??±???±′μ?path ?·??????DD?′?é,?-°?±?à′×?o?2aáá,?ò???óá?ìáê?1|?ü·?±?ê?è?.
#! /bin/sh
case $1 in
cctv0 ) mplayer > /dev/null & ;;
cctv1 ) mplayer > /dev/null & ;;
cctv2 ) mplayer > /dev/null & ;;
cctv3 ) mplayer > /dev/null & ;;
cctv4 ) mplayer > /dev/null & ;;
cctv10 ) mplayer > /dev/null & ;;
phtv0 ) mplayer > /dev/null & ;;
phtv1 ) mplayer > /dev/null & ;;
*) echo "please enter 'tv cctv0'[cctv1 cctv2 cctv3 cctv4 cctv10 phtv0 phtv1] to select differrnt tv channel"
esac
2?ê?oü?è?¨?-3£?á??μ?.