contrib/rc/linux/dtlogin: Make the init script work.
authorIsaac Dunham <ibid.ag@gmail.com>
Sat, 7 Mar 2015 17:43:58 +0000 (17:43 +0000)
committerJon Trulson <jon@radscan.com>
Sun, 8 Mar 2015 02:44:55 +0000 (19:44 -0700)
commit6c5bab085411be3b779b8e52b5e543c3e269d08d
treeb2005ac6c151b888f7fdf911c3a06bcad72d59d9
parent917343911e2063f5a387bcefcef6a2b16a201e04
contrib/rc/linux/dtlogin: Make the init script work.

* insserv requires a shebang line
* the rc script can hang if a daemon is started in the foreground
* "pgrep dtlogin" apparently can match the init script, if it is started
  with "service dtlogin start" or similar.
* reduce code duplication
cde/contrib/rc/linux/dtlogin