代码拉取完成,页面将自动刷新
From 0ebfdeafe3d2b023bd52704c6f7a8a2082379da5 Mon Sep 17 00:00:00 2001
From: Harald Hoyer <harald@redhat.com>
Date: Fri, 12 Feb 2021 13:26:14 +0100
Subject: [PATCH] fix: shellcheck for modules.d/99squash/module-setup.sh
(cherry picked from commit 6510ab3f9d6ce555435cf57b716702b5b7663772)
Resolves: #1959336
---
modules.d/99squash/module-setup.sh | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/modules.d/99squash/module-setup.sh b/modules.d/99squash/module-setup.sh
index b183daf7..5b2435cc 100644
--- a/modules.d/99squash/module-setup.sh
+++ b/modules.d/99squash/module-setup.sh
@@ -32,9 +32,9 @@ installkernel() {
install() {
inst_multiple kmod modprobe mount mkdir ln echo
- inst $moddir/setup-squash.sh /squash/setup-squash.sh
- inst $moddir/clear-squash.sh /squash/clear-squash.sh
- inst $moddir/init.sh /squash/init.sh
+ inst "$moddir"/setup-squash.sh /squash/setup-squash.sh
+ inst "$moddir"/clear-squash.sh /squash/clear-squash.sh
+ inst "$moddir"/init.sh /squash/init.sh
inst "$moddir/squash-mnt-clear.service" "$systemdsystemunitdir/squash-mnt-clear.service"
systemctl -q --root "$initdir" add-wants initrd-switch-root.target squash-mnt-clear.service
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。