added timezone details.
This commit is contained in:
parent
4bb1071a64
commit
ffd24acf2f
@ -2,18 +2,17 @@
|
|||||||
A script to fetch Dhiraagu Fiber or ADSL connection IP and send to no-ip to assign ip to a domain name.
|
A script to fetch Dhiraagu Fiber or ADSL connection IP and send to no-ip to assign ip to a domain name.
|
||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
`linux`
|
`linux`\
|
||||||
`python3`
|
`python3`\
|
||||||
`requests`
|
`requests`
|
||||||
|
|
||||||
## Installing
|
## Installing
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git clone https://github.com/shihaamabr/dhiraaguddns.git
|
git clone https://github.com/shihaamabr/dhiraaguddns.git
|
||||||
cd dhiraaguddns
|
cd dhiraaguddns
|
||||||
```
|
```
|
||||||
Edit the creds in ipupdate.py\
|
Edit the creds in ipupdate.py\
|
||||||
Give executable permissions for manual.sh and auto.sh
|
Give executable permissions for `manual.sh` `and auto.sh`
|
||||||
```bash
|
```bash
|
||||||
chmod +x manual.sh
|
chmod +x manual.sh
|
||||||
chmod +x auto.sh
|
chmod +x auto.sh
|
||||||
@ -21,4 +20,6 @@ chmod +x auto.sh
|
|||||||
set a chronjob for auto.sh for automatic update
|
set a chronjob for auto.sh for automatic update
|
||||||
`./manual.sh` if you needed to trigger update manually
|
`./manual.sh` if you needed to trigger update manually
|
||||||
|
|
||||||
|
The bash scripts have timezone set to Maldives, change it if you needed to log another timezone
|
||||||
|
[List of tz database time zones - WiKi](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones)
|
||||||
---
|
---
|
||||||
|
Loading…
x
Reference in New Issue
Block a user