Skip to content

Commit e2f79a5

Browse files
committed
Update README since the script can now be run directly, since the shebang line was added
1 parent 6a992c4 commit e2f79a5

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,19 +34,22 @@ Download the [latest version](https://github.com/stecklars/dynamic-dns-netcup-ap
3434

3535
I'm always trying to keep the master branch stable.
3636

37+
Then, allow `update.php` to be executed by your user:
38+
`chmod u+x update.php`
39+
3740
### Configuration
3841
Configuration is very simple:
3942
* Copy `config.dist.php` to `config.php`
4043
* `cp config.dist.php config.php`
4144
* Fill out `config.php` with the required values. The options are explained in there.
4245

4346
### How to use
44-
`php update.php`
47+
`./update.php`
4548

4649
You should probably run this script every few minutes, so that your IP is updated as quickly as possible. Add it to your cronjobs and run it regularly, for example every five minutes.
4750

4851
### CLI options
49-
Just add these Options after the command like `php update.php --quiet`
52+
Just add these Options after the command like `./update.php --quiet`
5053

5154
| option | function |
5255
| ------------- |----------------------------------------------------------:|

0 commit comments

Comments
 (0)