]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Remove 'function' keyword, which doesn't work and isn't needed.
authorTed Lemon <source@isc.org>
Mon, 29 Mar 1999 21:47:08 +0000 (21:47 +0000)
committerTed Lemon <source@isc.org>
Mon, 29 Mar 1999 21:47:08 +0000 (21:47 +0000)
client/scripts/netbsd

index 9f1a88e01a5bbfca897c3cbcf9e63404ca8275c6..22697937079b069d0392c6d5fa0f6bc0220c328f 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-function make_resolv_conf() {
+make_resolv_conf() {
   echo search $new_domain_name >/etc/resolv.conf
   for nameserver in $new_domain_name_servers; do
     echo nameserver $nameserver >>/etc/resolv.conf
@@ -8,7 +8,7 @@ function make_resolv_conf() {
 }
 
 # Must be used on exit.   Invokes the local dhcp client exit hooks, if any.
-function exit_with_hooks() {
+exit_with_hooks() {
   exit_status=$1
   if [ -x /etc/dhclient-exit-hooks ]; then
     . /etc/dhclient-exit-hooks