challenge: fix date randomization
This commit is contained in:
parent
5e51734fa1
commit
f2aae0ccd2
@ -39,7 +39,7 @@ done
|
|||||||
/bin/rm -f /init /linuxrc
|
/bin/rm -f /init /linuxrc
|
||||||
|
|
||||||
# Randomize time at boot
|
# 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
|
/bin/date 0$((1 + $RANDOM % 9))0$((1 + $RANDOM % 9))0$((1 + $RANDOM % 9))$((0 + $RANDOM % 6))$((1 + $RANDOM % 9))$((70 + $RANDOM % 30)).$(($RANDOM % 6))$((1 + $RANDOM % 9)) > /dev/null
|
||||||
/sbin/sysctl -w kernel.panic_on_warn=1 > /dev/null
|
/sbin/sysctl -w kernel.panic_on_warn=1 > /dev/null
|
||||||
/sbin/sysctl -w net.ipv4.ip_default_ttl=4 > /dev/null
|
/sbin/sysctl -w net.ipv4.ip_default_ttl=4 > /dev/null
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user