commit 01e34e8f2ecb7d6fe97909fb2d1b0981d1d11a6a Author: Nico Schottelius Date: Wed Nov 9 13:17:40 2005 +0100 Initial commit diff --git a/crypt-dev.rand.key b/crypt-dev.rand.key new file mode 100755 index 0000000..0a1d97d --- /dev/null +++ b/crypt-dev.rand.key @@ -0,0 +1,7 @@ +#!/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 diff --git a/install-packages b/install-packages new file mode 100755 index 0000000..9f8c3f1 --- /dev/null +++ b/install-packages @@ -0,0 +1,10 @@ +#!/bin/sh +# cLinux +# Nico Schottelius (nico-linux@schottelius.org) +# 2004-12 +# + +PACKAGES=$@ + + +ALL_PACKAGES=` diff --git a/mkcrypt.swap b/mkcrypt.swap new file mode 100755 index 0000000..cac76cf --- /dev/null +++ b/mkcrypt.swap @@ -0,0 +1,11 @@ +#!/bin/sh +# cLinux +# Nico Schottelius (nico-linux@schottelius.org) +# 2004-12-29 +# create swap devices from $argv + +i=0 +for i in devices ... + crypt-dev.rand.key "$1" +###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 diff --git a/permissions.group-work b/permissions.group-work new file mode 100644 index 0000000..e14ec7c --- /dev/null +++ b/permissions.group-work @@ -0,0 +1,9 @@ +#!/bin/sh +# +# Nico Schottelius +# Date: 09-Nov-2005 +# Last Modified: - +# + +find "$1" -type d -exec chmod 0770 {} \; +find "$1" -type f -exec chmod u+rw,g+rw,o-rwx {} \; diff --git a/permissions.private b/permissions.private new file mode 100644 index 0000000..8553535 --- /dev/null +++ b/permissions.private @@ -0,0 +1,8 @@ +#!/bin/sh +# +# Nico Schottelius +# Date: 09-Nov-2005 +# Last Modified: - +# + +find "$1" -exec chmod og-rwx {} \; diff --git a/permissions.public b/permissions.public new file mode 100644 index 0000000..78d73fa --- /dev/null +++ b/permissions.public @@ -0,0 +1,9 @@ +#!/bin/sh +# +# Nico Schottelius +# Date: 09-Nov-2005 +# Last Modified: - +# + +find "$1" -type d -exec chmod 0755 {} \; +find "$1" -type f -exec chmod 0644 {} \; diff --git a/reread-partition b/reread-partition new file mode 100755 index 0000000..ed9fb88 --- /dev/null +++ b/reread-partition @@ -0,0 +1,7 @@ +#!/bin/sh +# cLinux +# Nico Schottelius (nico-linux@schottelius.org) +# 2004-12 +# + +hdparm -z $1 diff --git a/tune-ide-hd b/tune-ide-hd new file mode 100755 index 0000000..b202c64 --- /dev/null +++ b/tune-ide-hd @@ -0,0 +1,6 @@ +#!/bin/sh +# Nico Schottelius (nico-linux@schottelius.org) +# 2004-12 +# + +hdparm -d1 -c1 $1