Initial commit
This commit is contained in:
		
				commit
				
					
						01e34e8f2e
					
				
			
		
					 8 changed files with 67 additions and 0 deletions
				
			
		
							
								
								
									
										7
									
								
								crypt-dev.rand.key
									
										
									
									
									
										Executable file
									
								
							
							
						
						
									
										7
									
								
								crypt-dev.rand.key
									
										
									
									
									
										Executable file
									
								
							|  | @ -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  | ||||
							
								
								
									
										10
									
								
								install-packages
									
										
									
									
									
										Executable file
									
								
							
							
						
						
									
										10
									
								
								install-packages
									
										
									
									
									
										Executable file
									
								
							|  | @ -0,0 +1,10 @@ | |||
| #!/bin/sh | ||||
| # cLinux | ||||
| # Nico Schottelius (nico-linux@schottelius.org) | ||||
| # 2004-12 | ||||
| #  | ||||
| 
 | ||||
| PACKAGES=$@ | ||||
| 
 | ||||
| 
 | ||||
| ALL_PACKAGES=` | ||||
							
								
								
									
										11
									
								
								mkcrypt.swap
									
										
									
									
									
										Executable file
									
								
							
							
						
						
									
										11
									
								
								mkcrypt.swap
									
										
									
									
									
										Executable file
									
								
							|  | @ -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  | ||||
							
								
								
									
										9
									
								
								permissions.group-work
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								permissions.group-work
									
										
									
									
									
										Normal file
									
								
							|  | @ -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 {} \; | ||||
							
								
								
									
										8
									
								
								permissions.private
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								permissions.private
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,8 @@ | |||
| #!/bin/sh | ||||
| # | ||||
| # Nico Schottelius <nico-linux@schottelius.org> | ||||
| # Date: 09-Nov-2005 | ||||
| # Last Modified: - | ||||
| # | ||||
| 
 | ||||
| find "$1" -exec chmod og-rwx {} \; | ||||
							
								
								
									
										9
									
								
								permissions.public
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								permissions.public
									
										
									
									
									
										Normal file
									
								
							|  | @ -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 {} \; | ||||
							
								
								
									
										7
									
								
								reread-partition
									
										
									
									
									
										Executable file
									
								
							
							
						
						
									
										7
									
								
								reread-partition
									
										
									
									
									
										Executable file
									
								
							|  | @ -0,0 +1,7 @@ | |||
| #!/bin/sh | ||||
| # cLinux | ||||
| # Nico Schottelius (nico-linux@schottelius.org) | ||||
| # 2004-12 | ||||
| #  | ||||
| 
 | ||||
| hdparm -z $1 | ||||
							
								
								
									
										6
									
								
								tune-ide-hd
									
										
									
									
									
										Executable file
									
								
							
							
						
						
									
										6
									
								
								tune-ide-hd
									
										
									
									
									
										Executable file
									
								
							|  | @ -0,0 +1,6 @@ | |||
| #!/bin/sh | ||||
| # Nico Schottelius (nico-linux@schottelius.org) | ||||
| # 2004-12 | ||||
| #  | ||||
| 
 | ||||
| hdparm -d1 -c1 $1 | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue