malfs mekanizma guncelleme
This commit is contained in:
		
							parent
							
								
									318011b2d1
								
							
						
					
					
						commit
						abd01530f7
					
				
					 3 changed files with 0 additions and 41 deletions
				
			
		| 
						 | 
				
			
			@ -1,4 +0,0 @@
 | 
			
		|||
mkinitramfs 4.4.1-milis
 | 
			
		||||
[ -f boot/initrd ] && rm boot/initrd
 | 
			
		||||
ln -sf initrd-4.4.1-milis boot/initrd
 | 
			
		||||
ln -sf kernel-4.4.1 boot/kernel
 | 
			
		||||
| 
						 | 
				
			
			@ -1,25 +0,0 @@
 | 
			
		|||
if [ ! -f /etc/sysconfig/nfs-server ]; then
 | 
			
		||||
	cat > /etc/sysconfig/nfs-server << "EOF"
 | 
			
		||||
PORT="2049"
 | 
			
		||||
PROCESSES="8"
 | 
			
		||||
QUOTAS="no"
 | 
			
		||||
KILLDELAY="10"
 | 
			
		||||
EOF
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
if [ ! -f /etc/exports ]; then
 | 
			
		||||
	cat > /etc/exports << "EOF"
 | 
			
		||||
# /etc/exports - exports(5) - directories exported to NFS clients
 | 
			
		||||
#
 | 
			
		||||
# Example for NFSv2 and NFSv3:
 | 
			
		||||
#  /srv/home        hostname1(rw,sync) hostname2(ro,sync)
 | 
			
		||||
# Example for NFSv4:
 | 
			
		||||
#  /srv/nfs4	    hostname1(rw,sync,fsid=0)
 | 
			
		||||
#  /srv/nfs4/home   hostname1(rw,sync,nohide)
 | 
			
		||||
# Using Kerberos and integrity checking:
 | 
			
		||||
#  /srv/nfs4        *(rw,sync,sec=krb5i,fsid=0)
 | 
			
		||||
#  /srv/nfs4/home   *(rw,sync,sec=krb5i,nohide)
 | 
			
		||||
#
 | 
			
		||||
# Use `exportfs -arv` to reload.
 | 
			
		||||
EOF
 | 
			
		||||
fi
 | 
			
		||||
| 
						 | 
				
			
			@ -1,12 +0,0 @@
 | 
			
		|||
if [ ! -f /etc/rsyncd.conf ]; then
 | 
			
		||||
	cat > /etc/rsyncd.conf << "EOF"
 | 
			
		||||
# use chroot = yes
 | 
			
		||||
# [site]
 | 
			
		||||
#   path = /home/saravane/nutyx.org
 | 
			
		||||
#   comment = Site web
 | 
			
		||||
#   auth users = tnut
 | 
			
		||||
#   read only = yes
 | 
			
		||||
#   exclude from = /etc/saravane_rsync_exclude_files.txt
 | 
			
		||||
#   secrets file = /etc/rsyncd.secrets
 | 
			
		||||
EOF
 | 
			
		||||
fi
 | 
			
		||||
		Loading…
	
	Add table
		
		Reference in a new issue