|
@ -1,8 +1,8 @@ |
|
|
#!/bin/bash |
|
|
#!/bin/bash |
|
|
|
|
|
|
|
|
#Here is a sample custom api script. |
|
|
#Here is a sample custom api script. |
|
|
#This file name is "dhs-myapi.sh" |
|
|
|
|
|
#So, here must be a method dhs-myapi-add() |
|
|
|
|
|
|
|
|
#This file name is "dns-myapi.sh" |
|
|
|
|
|
#So, here must be a method dns-myapi-add() |
|
|
#Which will be called by le.sh to add the txt record to your api system. |
|
|
#Which will be called by le.sh to add the txt record to your api system. |
|
|
#returns 0 meanst success, otherwise error. |
|
|
#returns 0 meanst success, otherwise error. |
|
|
|
|
|
|
|
|