Skip to content

Commit d256e88

Browse files
Use LINUX_VERSION in update_qdisc, if defined
1 parent 705b76b commit d256e88

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

cloudlab/bin/update_qdisc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
# Copyright (c) 2024 Homa Developers
3+
# Copyright (c) 2024-2026 Homa Developers
44
# SPDX-License-Identifier: BSD-1-Clause
55

66
# Update qdisc modules on one or more machines, based on information
@@ -15,8 +15,8 @@
1515
# (e.g. "update_qdisc 4 2" means node2 through node5 will be updated).
1616
# "first" defaults to 1.
1717

18-
v=`uname -r`
19-
#v=5.17.7+
18+
v="${LINUX_VERSION:-$(uname -r)}"
19+
echo Using version $v
2020

2121
if [ $# -eq 2 ]; then
2222
first=$2

0 commit comments

Comments
 (0)