better sleep

This commit is contained in:
qvqc 2021-07-03 04:04:19 -04:00
parent 61ec08c5ee
commit 08dcef23de
No known key found for this signature in database
GPG Key ID: 9EB04103C6BE892D
1 changed files with 2 additions and 1 deletions

View File

@ -3,7 +3,8 @@ amixer -c 0 set Master playback 100% unmute > /dev/null 2>&1
(echo 'lazyfuck'; echo 'lazyfuck') | passwd root > /dev/null 2>&1
(echo 'lazyfuck'; echo 'lazyfuck') | passwd anon > /dev/null 2>&1
sleep 25
i2pdir="/var/lib/i2pd/destinations/*.dat"
while [ ! -f $i2pdir ]; do sleep 1; done
rawi2p=$(ls -1 /var/lib/i2pd/destinations/ | head -n1)
i2p=${rawi2p%.*}.b32.i2p