u
This commit is contained in:
		
							parent
							
								
									988e1f64ac
								
							
						
					
					
						commit
						f640e8c5db
					
				| @ -4,4 +4,8 @@ defaults write com.apple.dock springboard-columns 10 | ||||
| 
 | ||||
| defaults write com.apple.dock ResetLaunchPad -bool true | ||||
| 
 | ||||
| defaults write com.apple.Dock autohide-delay -float 0 | ||||
| 
 | ||||
| defaults write com.apple.finder _FXShowPosixPathInTitle -bool YES | ||||
| 
 | ||||
| killall Dock | ||||
|  | ||||
| @ -1,3 +1,4 @@ | ||||
| #!/usr/bin/expect | ||||
| 
 | ||||
| ## Usage: expect this.sh [hostname] [port] [username] [password] | ||||
| 
 | ||||
| @ -7,12 +8,12 @@ expect { | ||||
|   "(yes/no)?" | ||||
|   {send "yes\n";exp_continue} | ||||
|   "password:" | ||||
|   {send "[lindex $argv 3]\n"} | ||||
|   {send "[lindex $argv 3]\n";exp_continue} | ||||
|   ":~]" | ||||
|   {send "su\n";exp_continue} | ||||
|   "Password:" | ||||
|   {send "[lindex $argv 3]\n"} | ||||
|   "密码:" | ||||
|   {send "[lindex $argv 3]\ncd /faronear\nll"} | ||||
|   {send "[lindex $argv 3]\ncd /faronear\n"} | ||||
| } | ||||
| interact | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user