git.99rst.org
/
openwrt-packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
b7c82d5
)
uacme: remove cron entry on package removal
author
Wren Turkal
<redacted>
Fri, 29 May 2020 05:36:20 +0000
(22:36 -0700)
committer
Wren Turkal
<redacted>
Fri, 29 May 2020 05:36:20 +0000
(22:36 -0700)
Previously, the cron config was not removed on uninstall. This change fixes
that.
Signed-off-by: Wren Turkal <redacted>
net/uacme/Makefile
patch
|
blob
|
history
diff --git
a/net/uacme/Makefile
b/net/uacme/Makefile
index 2f0c1f744362bfc75f0b068387c0441b57a9e821..c6963ef39bb4a7664d6eda836ad6342b6c6c1530 100644
(file)
--- a/
net/uacme/Makefile
+++ b/
net/uacme/Makefile
@@
-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))
git clone https://git.99rst.org/PROJECT