challenge: Remove useless code

This commit is contained in:
nemunaire 2023-02-21 01:46:43 +01:00
parent b18ea19e03
commit 42432b45b5
2 changed files with 2 additions and 8 deletions

View File

@ -27,13 +27,13 @@ RUN apk add --no-cache --initdb -p /out \
fbida-doc \
htop \
htop-doc \
inetutils-telnet \
iproute2 \
iproute2-doc \
jq \
jq-doc \
kbd \
kbd-bkeymaps \
kbd-doc \
kbd-vlock \
less \
losetup \
mandoc \
@ -52,8 +52,6 @@ RUN apk add --no-cache --initdb -p /out \
tcpdump-doc \
testdisk \
testdisk-doc \
tini \
ttf-inconsolata \
util-linux \
util-linux-doc \
wireguard-tools-wg \

View File

@ -68,10 +68,6 @@ done
# Prepare bonus 2
mkdir -p /mnt
for l in a b c d e f g h i j k l m n o p q r s t u v w x y z zz; do
[ -b /dev/sd$l ] || break
done
/bin/dd if=/dev/zero of=/dev/blk count=1 bs=10240000 > /dev/null 2> /dev/null
cat <<EOF | fdisk /dev/blk > /dev/null 2> /dev/null
n