Initial commit
This commit is contained in:
commit
01e34e8f2e
|
@ -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
|
|
@ -0,0 +1,10 @@
|
||||||
|
#!/bin/sh
|
||||||
|
# cLinux
|
||||||
|
# Nico Schottelius (nico-linux@schottelius.org)
|
||||||
|
# 2004-12
|
||||||
|
#
|
||||||
|
|
||||||
|
PACKAGES=$@
|
||||||
|
|
||||||
|
|
||||||
|
ALL_PACKAGES=`
|
|
@ -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
|
|
@ -0,0 +1,9 @@
|
||||||
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# Nico Schottelius <nico-linux@schottelius.org>
|
||||||
|
# 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 {} \;
|
|
@ -0,0 +1,8 @@
|
||||||
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# Nico Schottelius <nico-linux@schottelius.org>
|
||||||
|
# Date: 09-Nov-2005
|
||||||
|
# Last Modified: -
|
||||||
|
#
|
||||||
|
|
||||||
|
find "$1" -exec chmod og-rwx {} \;
|
|
@ -0,0 +1,9 @@
|
||||||
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# Nico Schottelius <nico-linux@schottelius.org>
|
||||||
|
# Date: 09-Nov-2005
|
||||||
|
# Last Modified: -
|
||||||
|
#
|
||||||
|
|
||||||
|
find "$1" -type d -exec chmod 0755 {} \;
|
||||||
|
find "$1" -type f -exec chmod 0644 {} \;
|
|
@ -0,0 +1,7 @@
|
||||||
|
#!/bin/sh
|
||||||
|
# cLinux
|
||||||
|
# Nico Schottelius (nico-linux@schottelius.org)
|
||||||
|
# 2004-12
|
||||||
|
#
|
||||||
|
|
||||||
|
hdparm -z $1
|
|
@ -0,0 +1,6 @@
|
||||||
|
#!/bin/sh
|
||||||
|
# Nico Schottelius (nico-linux@schottelius.org)
|
||||||
|
# 2004-12
|
||||||
|
#
|
||||||
|
|
||||||
|
hdparm -d1 -c1 $1
|
Loading…
Reference in New Issue