Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mkimage-profiles
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ximper Linux
mkimage-profiles
Commits
df45ac1b
Commit
df45ac1b
authored
Oct 02, 2015
by
Michael Shigorin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
initial ntp feature
This one has been partially implemented for regular builds but making it generally available seems much better.
parent
514ee63b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
0 deletions
+22
-0
README
features.in/ntp/README
+4
-0
config.mk
features.in/ntp/config.mk
+8
-0
50-ntp
features.in/ntp/rootfs/image-scripts.d/50-ntp
+10
-0
No files found.
features.in/ntp/README
0 → 100644
View file @
df45ac1b
Эта фича конфигурирует службу NTP в качестве клиента
с целью предоставления точного времени в составе LiveCD;
для установленных систем рекомендуется применение модуля
alterator-datetime.
features.in/ntp/config.mk
0 → 100644
View file @
df45ac1b
use/ntp: use/services
@$(call add_feature)
@$(call add,THE_PACKAGES,openntpd)
@$(call add,DEFAULT_SERVICES_ENABLE,ntpd)
use/ntp/client: use/ntp
@$(call add,NTP_SERVERS,pool.ntp.org)
@$(call xport,NTP_SERVERS)
features.in/ntp/rootfs/image-scripts.d/50-ntp
0 → 100755
View file @
df45ac1b
#!/bin/sh
# basic NTP client configuration
.
shell-config
CONFIG
=
"/etc/ntpd.conf"
[
-f
"
$CONFIG
"
]
||
exit
0
[
-n
"
$GLOBAL_NTP_SERVERS
"
]
||
exit
0
shell_config_set
"
$CONFIG
"
'servers'
"
$GLOBAL_NTP_SERVERS
"
'[[:space:]]\+'
' '
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment