SupportCenter as a "service" in Ubuntu Server 16.04.1

SupportCenter as a "service" in Ubuntu Server 16.04.1

Hello
I'm using the attached script, copied it to /etc/init.d Name supportcenter

Used sysv-rc-conf to set runlevel 345 (is this correct or should it be other run-levels?)
Chmod to 755

Created /var/log/supportcenter-plus.log (who should be owner and what group? What permissions should be set on this file?)

It never starts at boot. If I run the script "manually" I get this errror:

user@server:/etc/init.d$ sh ./supportcenter
./supportcenter: 40: ./supportcenter: Syntax error: word unexpected (expecting "in")

Pls advice

hkl




                  New to ADSelfService Plus?