file must be last argument
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
		
					parent
					
						
							
								386c12f251
							
						
					
				
			
			
				commit
				
					
						18a25dc65b
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -32,7 +32,7 @@ case "$state_should" in
 | 
				
			||||||
    present)
 | 
					    present)
 | 
				
			||||||
        case "$os" in
 | 
					        case "$os" in
 | 
				
			||||||
            archlinux)
 | 
					            archlinux)
 | 
				
			||||||
                echo "sed -i /etc/rc.conf 's/^\\(DAEMONS=.*\\))/\\1 $name)/'"
 | 
					                echo "sed -i 's/^\\(DAEMONS=.*\\))/\\1 $name)/' /etc/rc.conf"
 | 
				
			||||||
            ;;
 | 
					            ;;
 | 
				
			||||||
            debian|ubuntu)
 | 
					            debian|ubuntu)
 | 
				
			||||||
                echo "update-rc.d \"$name\" defaults >/dev/null"
 | 
					                echo "update-rc.d \"$name\" defaults >/dev/null"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue