GSM-Modem + Suse Studio 11.4 + Virtualbox to slow USB initialization for init script

Dear all,

Please let me describe my problem:

I’m running a SMS Gateway server using SMSTools3 on SuseStudio 11.4 as a Virtualbox VM.
When i boot the Virtual Maschine the init script /etc/init.d/smstools doesn’t initialize the modem on /dev/ttyACM0 which is automatically connected by the VM configuration.

But when i restart the /etc/init.d/smstools after login the initialization of the modem works well !

I think this happens because SuseStudio 11.4 doesn’t initialize the modem on /dev/ttyACM0 before it starts up the /etc/init.d/smstools

I already tried to put a sleep 30; to the init script, without succes.

Can anybody please tell me how i could start initialize the modem before it starts to process the init script smstools ?

Many thanks in advance!
Gurlee

I found out that if i manually start the /etc/init.d/smstools all works well.
On system reboot the automatic /etc/init.d/smstools doesn’t work ???

cd /etc/init.d
ls -la smstool*
-rwxr-xr-x 1 root root 3785 Aug 9 13:13 smstools

chkconfig smstools --list
smstools 0 off 1 off 2 off 3 on 4 off 5 on 6 off

smstools init script
#! /bin/bash

chkconfig: 345 99 01

description: SMS Tools Daemon

This script can be used to start/stop smsd

as a daemon in Linux and Solaris.

case “$1” in
start)
find /var/spool/sms -name ‘*.LOCK’ -exec rm {} ;
/usr/sbin/smsd &
;;
stop)
pkill smsd
;;
restart|reload)
$0 stop
$0 start
;;
*)
echo “Usage: $0 {start|stop|restart}”
exit 1
esac

Please help !