shellinabox.init 484 B

1234567891011121314151617
  1. #!/bin/sh /etc/rc.common
  2. # Copyright (C) 2010 OpenWrt.org
  3. # enable auto start of this daemon
  4. START=99
  5. USE_PROCD=1
  6. PROG=/usr/sbin/shellinaboxd
  7. start_service() {
  8. procd_open_instance
  9. procd_set_param command $PROG -t --service=/:LOGIN --css /usr/lib/shellinabox/style.css
  10. # disable automatic respawn - allow daemon to be turned off
  11. #procd_set_param respawn
  12. procd_close_instance
  13. }