Project

General

Profile

« Previous | Next » 

Revision 11350

lib/sh/local.sh: added require_remote()

View differences:

lib/sh/local.sh
32 32
: "${root_user=root}"
33 33
: "${root_password=$local_password}"
34 34

  
35
#### ssh
36

  
37
require_remote()
38
{
39
	echo_func
40
	test "$(hostname -f)" = "$remote_ssh_server" \
41
		|| die "must be run on $remote_ssh_server"
42
}
43

  
35 44
#### databases
36 45

  
37 46
### MySQL

Also available in: Unified diff