xinetd: Delete symlinks with uninstallation .

Message ID 20200310153638.9498-1-erik.kapfer@ipfire.org
State Accepted
Commit c1b2c0cc6dc8a9cd0005c4883e54b7c52dec17d8
Headers
Series xinetd: Delete symlinks with uninstallation . |

Commit Message

Erik Kapfer March 10, 2020, 3:36 p.m. UTC
  Fixes #12303

Signed-off-by: Erik Kapfer <erik.kapfer@ipfire.org>
---
 src/paks/xinetd/uninstall.sh | 3 +++
 1 file changed, 3 insertions(+)
  

Comments

Michael Tremer March 10, 2020, 3:50 p.m. UTC | #1
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>

> On 10 Mar 2020, at 15:36, Erik Kapfer <erik.kapfer@ipfire.org> wrote:
> 
> Fixes #12303
> 
> Signed-off-by: Erik Kapfer <erik.kapfer@ipfire.org>
> ---
> src/paks/xinetd/uninstall.sh | 3 +++
> 1 file changed, 3 insertions(+)
> 
> diff --git a/src/paks/xinetd/uninstall.sh b/src/paks/xinetd/uninstall.sh
> index a7b8a5370..a929261f3 100644
> --- a/src/paks/xinetd/uninstall.sh
> +++ b/src/paks/xinetd/uninstall.sh
> @@ -25,3 +25,6 @@
> stop_service ${NAME}
> make_backup ${NAME}
> remove_files
> +
> +# Remove symlinks
> +rm -rf /etc/rc.d/rc?.d/*xinetd
> -- 
> 2.12.2
>
  

Patch

diff --git a/src/paks/xinetd/uninstall.sh b/src/paks/xinetd/uninstall.sh
index a7b8a5370..a929261f3 100644
--- a/src/paks/xinetd/uninstall.sh
+++ b/src/paks/xinetd/uninstall.sh
@@ -25,3 +25,6 @@ 
 stop_service ${NAME}
 make_backup ${NAME}
 remove_files
+
+# Remove symlinks
+rm -rf /etc/rc.d/rc?.d/*xinetd