Hello,

When I want to start the data logging service using the next command, I get
a syntax error.

>> sudo /etc/init.d/dls start
/etc/init.d/dls: 66 /etc/init.d/dls: Syntax error: "(" unexpected

The dls-file is attached and the following are the things I did before
according the install documentation.

# tar xjf dls-1.3.1.tar.bz2
# cd dls-1.3.1
# ./configure
# make
# sudo make install

I don’t have a /etc/sysconfig folder and instead of this I am using
/etc/default the same I did by installing EtherCAT. So I also edited the
following files.

[etc/init.d/dls]
SYSCONFIG=/etc/sysconfig/dls >to> SYSCONFIG=/etc/default/dls

[etc/profile.d/dls]
. /etc/sysconfig/dls >to> . /etc/default/dls

Then copied by using the next commands.
# cd /opt/etherlab
# sudo cp etc/init.d/dls /etc/init.d/dls
# sudo cp etc/sysconfig/dls /etc/default/dls
# sudo cp etc/profile.d/dls.sh /etc/profile.d/dls.sh
# sudo insserv dls

I hope this can be solved.

Thank you in advance,
*Ralph Oosterveld*
_______________________________________________
etherlab-users mailing list
etherlab-users@etherlab.org
http://lists.etherlab.org/mailman/listinfo/etherlab-users

Reply via email to