Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
3af1d4dd
Commit
3af1d4dd
authored
Sep 27, 2002
by
Leigh B. Stoller
Browse files
Add regex to leave the "refclock" lines alone, which look like
"server 127.127.xxx.xxx ..."
parent
4d55ff29
Changes
1
Hide whitespace changes
Inline
Side-by-side
tmcd/ntpstart
View file @
3af1d4dd
...
...
@@ -94,6 +94,11 @@ while (<NTP>) {
/^peer.*$/
&&
do
{
last
SWITCH1
;
};
# Leave refclock lines alone
/^server.*127\.127.*$/
&&
do
{
print
NEW
"
$_
\n
";
last
SWITCH1
;
};
/^server.*$/
&&
do
{
last
SWITCH1
;
};
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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