diff options
author | Jonathan Bauer | 2020-07-23 17:52:21 +0200 |
---|---|---|
committer | Jonathan Bauer | 2020-07-23 17:52:21 +0200 |
commit | 9838da8b9efd243a0810ad92b0bd0bd3d0ae294c (patch) | |
tree | 63603539c54c9646d97a241fbce45230d3227ba9 /core/modules/slx-issue | |
parent | [hardware-stats] Use bash for better math (diff) | |
download | mltk-9838da8b9efd243a0810ad92b0bd0bd3d0ae294c.tar.gz mltk-9838da8b9efd243a0810ad92b0bd0bd3d0ae294c.tar.xz mltk-9838da8b9efd243a0810ad92b0bd0bd3d0ae294c.zip |
[slx-issue] relax regex for netboot version
Diffstat (limited to 'core/modules/slx-issue')
-rwxr-xr-x | core/modules/slx-issue/data/opt/openslx/scripts/openslx-create_issue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/slx-issue/data/opt/openslx/scripts/openslx-create_issue b/core/modules/slx-issue/data/opt/openslx/scripts/openslx-create_issue index 9639d67e..befe268b 100755 --- a/core/modules/slx-issue/data/opt/openslx/scripts/openslx-create_issue +++ b/core/modules/slx-issue/data/opt/openslx/scripts/openslx-create_issue @@ -65,7 +65,7 @@ fi tmpstatus="$(slx-tools fs_path_space /tmp | awk '{printf "%.1f", $2 / 1024 / 1024}')GiB ($tmpstatus)" # netboot version from cmdline, e.g. boot/bwlp/minilinux/1 to "MiniLinux 1" -netboot="$(grep -oP '(?<=slxbase=boot/bwlp/)\S+' /proc/cmdline | tr '/' ' ')" +netboot="$(grep -oP '(?<=slxbase=boot/)\S+' /proc/cmdline | tr '/' ' ')" # capitalize 'm' & 'l' netboot="${netboot^m}" netboot="${netboot^^l}" |