No Description

002-fix_init.patch 299B

1234567891011121314151617
  1. --- a/extras/openwrt/package/fwknop/files/fwknopd.init
  2. +++ b/extras/openwrt/package/fwknop/files/fwknopd.init
  3. @@ -11,12 +11,12 @@ FWKNOPD_BIN=/usr/sbin/fwknopd
  4. start()
  5. {
  6. - $FWKNOPD_BIN
  7. + service_start $FWKNOPD_BIN
  8. }
  9. stop()
  10. {
  11. - $FWKNOPD_BIN -K
  12. + service_stop $FWKNOPD_BIN -K
  13. }
  14. restart()