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

View File

@ -68,10 +68,6 @@ done
# Prepare bonus 2 # Prepare bonus 2
mkdir -p /mnt 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 /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 cat <<EOF | fdisk /dev/blk > /dev/null 2> /dev/null
n n