Debian Automated Code Analysis

checkbashisms analysis of ser_0.9.7-1.dsc

possible bashism in ./scripts/sc_unixsock line 427 (should be 'b = a'):
			if [ "$MODE" == "add" ] ; then
possible bashism in ./scripts/sc_unixsock line 761 (should be 'b = a'):
		if [ "$2" == "" ]; then
possible bashism in ./scripts/sc line 565 (should be 'b = a'):
			if [ "$MODE" == "add" ] ; then
possible bashism in ./scripts/sc line 917 (should be 'b = a'):
		if [ "$2" == "" ]; then
possible bashism in ./scripts/serconf.sh line 30 ('function' is useless):
function go_to_pstn()
possible bashism in ./scripts/serconf.sh line 45 ('function' is useless):
function addr2re()
possible bashism in ./scripts/serconf.sh line 50 ('function' is useless):
function gw_check()
possible bashism in ./scripts/serconf.sh line 63 ('function' is useless):
function mine_check()
possible bashism in ./scripts/serconf.sh line 68 ('function' is useless):
function gw_m_check()
possible bashism in ./scripts/serconf.sh line 81 ('function' is useless):
function help()
possible bashism in ./scripts/serconf.sh line 98 ('function' is useless):
function usage()
possible bashism in ./scripts/serconf.sh line 105 ('function' is useless):
function load_mod()
possible bashism in ./scripts/serconf.sh line 157 (read without variable):
read
possible bashism in ./scripts/ser_mysql.sh line 173 ($RANDOM):
  PHPLIB_ID=`$GENHA1 "$RANDOM" "$NOW" $SIP_DOMAIN`
possible bashism in ./etc/obsoleted/sercheck line 38 ($HOST(TYPE|NAME)):
	echo "Alarm: ser restart occured on `date` at $HOSTNAME" > $TMP
possible bashism in ./etc/sr line 43 ($HOST(TYPE|NAME)):
		echo "before startup ser core found on `date` at $HOSTNAME" > $TMP
possible bashism in ./debian/ser.init line 74 (echo -e):
	    echo -e "\nThere are errors in the configuration file. Please fix them first"
possible bashism in ./debian/ser.init line 75 (echo -e):
	    echo -e "\n$out\n"
possible bashism in ./profile/launch.sh line 20 ('function' is useless):
function usage()
possible bashism in ./profile/launch.sh line 45 ('function' is useless):
function run()
possible bashism in ./profile/launch.sh line 67 ('function' is useless):
function report()

This report was generated on Thu, 16 Dec 2010 15:38:29 +0000, based on results by checkbashisms 2.10.65git5