Fix openssl path in rc script
authorDavid Marec <DavidMarec@users.noreply.github.com>
Thu, 21 Jan 2021 22:29:26 +0000 (23:29 +0100)
committerDavid Marec <DavidMarec@users.noreply.github.com>
Thu, 21 Jan 2021 22:29:26 +0000 (23:29 +0100)
files/iked.in

index e9a257b29381993d7abfaff1f07a20fbef5ba28f..850c4428770789b83f46babe9b006a100f4ea751 100644 (file)
@@ -54,7 +54,7 @@ iked_precmd()
                if test ! -f $iked_privkey; then
                        /usr/bin/openssl ecparam -genkey -name prime256v1 -noout -out "$iked_privkey"
                        /bin/chmod 600 "$iked_privkey"
-                       openssl ec -in "$iked_privkey" -pubout -out "$iked_pubkey"
+                       /usr/bin/openssl ec -in "$iked_privkey" -pubout -out "$iked_pubkey"
                fi
        fi