Commit fac9043
committed
Fix
The `/run/chrony-dhcp` dir can be created when chrony.sh is
executable (i.e. DHCP mode) when host boot up. If host boots
up with other NTP mode, the dir may not be created.
Check the dir and create it if not exist.
Signed-off-by: Changlei Li <changlei.li@cloud.com>/run/chrony-dhcp does not exist1 parent cb78af3 commit fac9043
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
54 | 57 | | |
55 | 58 | | |
56 | 59 | | |
| |||
0 commit comments