nsbin/crypt-dev.rand.key

8 lines
215 B
Text
Raw Normal View History

2005-11-09 12:17:40 +00:00
#!/bin/sh
# cLinux
# Nico Schottelius (nico-linux@schottelius.org)
# 2004-12
#
dd if=/dev/urandom bs=512 count=2 | cryptsetup create swap "$1"
#dd if=/dev/urandom bs=512 count=2 | cryptsetup create swap /dev/hda6