johnathonm
Regular Contributor
Hi,
I was wondering if there was a reason why and how to permanently stop some services from restarting. I am trying to kill:
#!/bin/sh
service stop_lpd
service stop_lldpd
service stop_lld2d
service stop_u2ec
service stop_mcpd
service stop_lld2c
service stop_lldpd
service stop_nas
and I also want to kill /bin/mcpd as these services are not services I want active or need on the router. I have this script which runs and kills most of the services (I can't figure out how to put down /bin/mcpd). I will check via PS and at boot my script has killed them. Then several hours later I will log in, run a ps and find some of the services active again.
Any guidance would be appreciated.
Thanks,
J
I was wondering if there was a reason why and how to permanently stop some services from restarting. I am trying to kill:
#!/bin/sh
service stop_lpd
service stop_lldpd
service stop_lld2d
service stop_u2ec
service stop_mcpd
service stop_lld2c
service stop_lldpd
service stop_nas
and I also want to kill /bin/mcpd as these services are not services I want active or need on the router. I have this script which runs and kills most of the services (I can't figure out how to put down /bin/mcpd). I will check via PS and at boot my script has killed them. Then several hours later I will log in, run a ps and find some of the services active again.
Any guidance would be appreciated.
Thanks,
J