mirror of
https://github.com/dockur/windows.git
synced 2025-12-20 14:11:46 +00:00
Compare commits
No commits in common. "c7aac1edcf37a69ff730d0b4f073d16580a27763" and "ad6f87046afcf8f9a0e9aa7357f8db90c0b9c045" have entirely different histories.
c7aac1edcf
...
ad6f87046a
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -22,7 +22,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
-
|
-
|
||||||
name: Checkout
|
name: Checkout
|
||||||
uses: actions/checkout@v6
|
uses: actions/checkout@v5
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
-
|
-
|
||||||
|
|||||||
2
.github/workflows/check.yml
vendored
2
.github/workflows/check.yml
vendored
@ -9,7 +9,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
-
|
-
|
||||||
name: Checkout
|
name: Checkout
|
||||||
uses: actions/checkout@v6
|
uses: actions/checkout@v5
|
||||||
-
|
-
|
||||||
name: Run ShellCheck
|
name: Run ShellCheck
|
||||||
uses: ludeeus/action-shellcheck@master
|
uses: ludeeus/action-shellcheck@master
|
||||||
|
|||||||
4
.github/workflows/hub.yml
vendored
4
.github/workflows/hub.yml
vendored
@ -12,9 +12,7 @@ jobs:
|
|||||||
dockerHubDescription:
|
dockerHubDescription:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
-
|
- uses: actions/checkout@v5
|
||||||
name: Checkout repo
|
|
||||||
uses: actions/checkout@v6
|
|
||||||
-
|
-
|
||||||
name: Docker Hub Description
|
name: Docker Hub Description
|
||||||
uses: peter-evans/dockerhub-description@v5
|
uses: peter-evans/dockerhub-description@v5
|
||||||
|
|||||||
2
.github/workflows/review.yml
vendored
2
.github/workflows/review.yml
vendored
@ -15,7 +15,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
-
|
-
|
||||||
name: Checkout
|
name: Checkout
|
||||||
uses: actions/checkout@v6
|
uses: actions/checkout@v5
|
||||||
-
|
-
|
||||||
name: Spelling
|
name: Spelling
|
||||||
uses: reviewdog/action-misspell@v1
|
uses: reviewdog/action-misspell@v1
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
ARG VERSION_ARG="latest"
|
ARG VERSION_ARG="latest"
|
||||||
FROM scratch AS build-amd64
|
FROM scratch AS build-amd64
|
||||||
|
|
||||||
COPY --from=qemux/qemu:7.29 / /
|
COPY --from=qemux/qemu:7.28 / /
|
||||||
|
|
||||||
ARG TARGETARCH
|
ARG TARGETARCH
|
||||||
ARG DEBCONF_NOWARNINGS="yes"
|
ARG DEBCONF_NOWARNINGS="yes"
|
||||||
|
|||||||
25
src/power.sh
25
src/power.sh
@ -76,12 +76,6 @@ finish() {
|
|||||||
local pid
|
local pid
|
||||||
local cnt=0
|
local cnt=0
|
||||||
local reason=$1
|
local reason=$1
|
||||||
local pids=(
|
|
||||||
"/var/run/tpm.pid"
|
|
||||||
"/var/run/wsdd.pid"
|
|
||||||
"/var/run/samba/nmbd.pid"
|
|
||||||
"/var/run/samba/smbd.pid"
|
|
||||||
)
|
|
||||||
|
|
||||||
touch "$QEMU_END"
|
touch "$QEMU_END"
|
||||||
|
|
||||||
@ -120,12 +114,21 @@ finish() {
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for pid in "${pids[@]}"; do
|
pid="/var/run/tpm.pid"
|
||||||
if [[ -s "$pid" ]]; then
|
[ -s "$pid" ] && pKill "$(<"$pid")"
|
||||||
pKill "$(cat "$pid")"
|
rm -f "$pid"
|
||||||
fi
|
|
||||||
|
pid="/var/run/wsdd.pid"
|
||||||
|
[ -s "$pid" ] && pKill "$(<"$pid")"
|
||||||
|
rm -f "$pid"
|
||||||
|
|
||||||
|
pid="/var/run/samba/nmbd.pid"
|
||||||
|
[ -s "$pid" ] && pKill "$(<"$pid")"
|
||||||
|
rm -f "$pid"
|
||||||
|
|
||||||
|
pid="/var/run/samba/smbd.pid"
|
||||||
|
[ -s "$pid" ] && pKill "$(<"$pid")"
|
||||||
rm -f "$pid"
|
rm -f "$pid"
|
||||||
done
|
|
||||||
|
|
||||||
closeNetwork
|
closeNetwork
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user