challenge: update

This commit is contained in:
nemunaire 2019-02-24 15:10:08 +01:00
parent e88da74773
commit b42c447d27
4 changed files with 4 additions and 8 deletions

View file

@ -32,6 +32,7 @@ RUN apk add --no-cache --initdb -p /out \
man \
musl \
nano \
open-iscsi \
openssh-client \
openssh-doc \
openssh-keygen \

View file

@ -1,5 +1,7 @@
#!/bin/sh
init-crypto 2> /dev/null > /dev/null
# FUNCTIONS ###########################################################
# script usage

View file

@ -39,6 +39,7 @@ done
# Randomize time at boot
/bin/date -s 19$((70 + $RANDOM % 30))0$((1 + $RANDOM % 9))0$((1 + $RANDOM % 9))0$((1 + $RANDOM % 9)).0$((1 + $RANDOM % 9))01 > /dev/null
/sbin/sysctl -w kernel.panic_on_oops=1 > /dev/null
/sbin/sysctl -w net.ipv4.ip_default_ttl=4 > /dev/null
# Launch some daemons