forked from ungleich-public/cdist
		
	Fixed use of onboot parameter
onboot parameter was being checked against "true" but was being set as "yes/no"
This commit is contained in:
		
					parent
					
						
							
								c88d648520
							
						
					
				
			
			
				commit
				
					
						1ad176aa63
					
				
			
		
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -300,8 +300,8 @@ END
 | 
				
			||||||
EOF
 | 
					EOF
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Add $name to jail_list if $onboot=true
 | 
					# Add $name to jail_list if $onboot=yes
 | 
				
			||||||
if [ "$onboot" = "true" ]; then
 | 
					if [ "$onboot" = "yes" ]; then
 | 
				
			||||||
 | 
					
 | 
				
			||||||
   # first check to see whether jail_enable="YES" exists in rc.conf or not and add it
 | 
					   # first check to see whether jail_enable="YES" exists in rc.conf or not and add it
 | 
				
			||||||
   #   if necessary
 | 
					   #   if necessary
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue