Skip to content

Commit

Permalink
disable services in /etc/init.d instead of deleting them
Browse files Browse the repository at this point in the history
  • Loading branch information
seahawk1986 committed Nov 17, 2014
1 parent 1f330b1 commit 671c205
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions events/actions/remove-old-services
Expand Up @@ -3,6 +3,5 @@
SERVICES="nodm lirc dkms_autoinstaller inputlirc halevt tntnet acpi-support"

for S in $SERVICES; do
/usr/sbin/update-rc.d -f $S remove 2>/dev/null >/dev/null
rm -f /etc/init.d/$S 2>/dev/null
/usr/sbin/update-rc.d $S disable 2>/dev/null >/dev/null
done

0 comments on commit 671c205

Please sign in to comment.