Browse Source
Merge pull request #12357 from wt/uacme_cron_improvement
uacme: remove cron entry on package removal
lilik-openwrt-22.03
Rosen Penev
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
5 additions and
0 deletions
-
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)) |