Browse Source

uacme: remove cron entry on package removal

Previously, the cron config was not removed on uninstall. This change fixes
that.

Signed-off-by: Wren Turkal <wt@penguintechs.org>
lilik-openwrt-22.03
Wren Turkal 5 years ago
parent
commit
953702ad30
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      net/uacme/Makefile

+ 5
- 0
net/uacme/Makefile View File

@ -91,4 +91,9 @@ define Package/uacme/install
$(INSTALL_BIN) ./files/acme.init $(1)/etc/init.d/acme
endef
define Package/uacme/prerm
#!/bin/sh
sed -i '/\/etc\/init\.d\/acme start/d' /etc/crontabs/root
endef
$(eval $(call BuildPackage,uacme))

Loading…
Cancel
Save