giving a serial widget a login process in osx

1 post / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi!

I have a widget that I want to give a login process from my mac's usb port through an ftdi chip. I know that in Ubuntu, I can add something like:

start on stopped rc RUNLEVEL=[2345]
stop on runlevel [!2345]

respawn
exec /sbin/getty -L 38400 ttyUSB0 vt100

to my /etc/init/tty.USB0 file.

Is there an equivalent way to do this in osx?

Thanks!