Skip to content

Commit fb0a3fb

Browse files
committed
Renamed token %iptype% to %entrytype%
1 parent 479feb4 commit fb0a3fb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

config.sample.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"zone" : "anotherhost.example.com"
1818
}
1919
},
20-
"postprocess" : "nohup sudo /opt/some-script.sh %hostname% %ipaddress% %iptype%"
20+
"postprocess" : "nohup sudo /opt/some-script.sh %hostname% %ipaddress% %entrytype%"
2121
}
2222
}
2323
}

index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
$commandLine = str_replace("%username%", $username, $commandLine);
9191
$commandLine = str_replace("%hostname%", $hostname, $commandLine);
9292
$commandLine = str_replace("%ipaddress%", $ipAddress, $commandLine);
93-
$commandLine = str_replace("%iptype%", $entryType, $commandLine);
93+
$commandLine = str_replace("%entrytype%", $entryType, $commandLine);
9494

9595
exec($commandLine);
9696
}

0 commit comments

Comments
 (0)