nsbin/crypt-dev.rand.key
Nico Schottelius 01e34e8f2e Initial commit
2005-11-09 13:17:40 +01:00

7 lines
215 B
Bash
Executable file

#!/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