--- badi/public_scripts/dhcp3/dhclient-enter-hooks.d/reasoner 2009/04/22 00:31:34 1.1.1.1 +++ badi/public_scripts/dhcp3/dhclient-enter-hooks.d/reasoner 2023/08/06 20:09:22 1.2 @@ -1,5 +1,9 @@ # dhclient-enter-hook: reasoner -# Print reason DHCP is executed. -echo "dhclient: Acting because of $reason" +RUN="yes" + +if [ "$RUN" = "yes" ]; then + # Print reason DHCP is executed. + echo "dhclient: Acting because of $reason" +fi \ No newline at end of file