diff options
Diffstat (limited to 'install_native.sh')
| -rwxr-xr-x | install_native.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/install_native.sh b/install_native.sh new file mode 100755 index 0000000..325515a --- /dev/null +++ b/install_native.sh @@ -0,0 +1,14 @@ +#!/bin/bash + +#ssh root@localhost -p 2222 "rm main_arm" + +#scp -P 2222 bin/main_arm root@localhost:main_arm +#scp -P 2222 exp.js root@localhost:exp.js + +bin/main_arm -f /usr/sbin/racoon -j exp.js -o racoon.conf +cp racoon.conf /etc/racoon/racoon.conf + +#bin/main -f ~/racoon -j ../lol.js | ssh root@localhost -p 2222 "cat > /etc/racoon/racoon.conf" + +#bin/main -f ~/racoon | ssh root@192.168.1.6 "cat > racoon.conf" +#bin/main -f ~/racoon | ssh root@192.168.1.6 "cat > /etc/racoon/racoon.conf" |
