How to change startup command of "dhclient"

I want to add some extra flags to “dhclient” command running ubuntu 14.04,

dhclient starts at bootup and the default command I get using “ps” is as follows ,

/sbin/dhclient -d -q -sf /usr/lib/NetworkManager/nm-dhcp-helper -pf
/run/sendsigs.omit.d/ -lf

I want to add “-w” flag to this.

I am looking in “/etc/apparmor.d/sbin.dhclient” but couldn’t find place where can i add this flag or from where “-d -q” flags are provided to this command.

Source: ubuntu

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.