#! /bin/bash
# $Header: /global/src/etc/cl-manage-scripts/patches/RCS/P-NetworkManager-ZAP,v 1.2 2025/03/21 15:19:26 mas90 Exp $
#
# command to disable the use of NetworkManager, called by /usr/bin/cl-patch-file
# Called with a single argument, the file to be edited
#
# patch-file distmatches = Ubuntu|Debian
# patch-file filemissing = /etc/rc2.d/S20NetworkManager
# patch-file operation = shell

PATH=$PATH:/usr/sbin/
update-rc.d -f NetworkManager remove
update-rc.d    NetworkManager stop   20 0 1 2 3 4 5 6 .
