You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
212 B

  1. #!/bin/sh /etc/rc.common
  2. # Copyright (C) 2007 OpenWrt.org
  3. START=60
  4. BIN=gkrellmd
  5. RUN_D=/var/run
  6. PID_F=$RUN_D/$BIN.pid
  7. start() {
  8. mkdir -p $RUN_D
  9. $BIN $OPTIONS
  10. }
  11. stop() {
  12. [ -f $PID_F ] && kill $(cat $PID_F)
  13. }