From: Roy Marples Date: Thu, 14 Aug 2008 10:37:11 +0000 (+0000) Subject: Make signature more sane and fix comment. X-Git-Tag: v4.0.2~38 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=908a4aa9ae8e02fa13c5a98b9dae03d32803cfe7;p=thirdparty%2Fdhcpcd.git Make signature more sane and fix comment. --- diff --git a/dhcpcd-run-hooks.in b/dhcpcd-run-hooks.in index 62b38e78..2672c852 100644 --- a/dhcpcd-run-hooks.in +++ b/dhcpcd-run-hooks.in @@ -1,10 +1,10 @@ #!/bin/sh # dhcpcd client configuration script -# Handy variables functions for our hooks to use -signature_base="# Generated by dhcpcd for " +# Handy variables and functions for our hooks to use +signature_base="# Generated by dhcpcd from " signature="${signature_base}${interface}" -signature_base_end="# End of dhcpcd configuration for " +signature_base_end="# End of dhcpcd from " signature_end="${signature_base_end}${interface}" # Clean a configuration file of our current signature and stale ones @@ -85,7 +85,7 @@ restore_conf() # We source each script into this one so that scripts run earlier can # remove variables from the environment so later scripts don't see them. -# Thus, the user can create their dhcpcd.hook script to configure +# Thus, the user can create their dhcpcd.enter/exit-hook script to configure # /etc/resolv.conf how they want and stop the system scripts ever updating it. for hook in \ @SYSCONFDIR@/dhcpcd.enter-hook \