From 00cf1b44b407432f0c352ea4c4e87debf1e817d1 Mon Sep 17 00:00:00 2001 From: Sapan Bhatia Date: Sun, 23 Dec 2007 19:44:05 +0000 Subject: [PATCH] --- viciinst.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 viciinst.sh diff --git a/viciinst.sh b/viciinst.sh new file mode 100755 index 000000000..deea274b9 --- /dev/null +++ b/viciinst.sh @@ -0,0 +1,12 @@ +rm -fR inst +mkdir inst +make install INSTALL_PATH=inst +make modules_install INSTALL_MOD_PATH=inst +tar cfz inst.tar.gz inst +scp -i ~/newvici inst.tar.gz root@$1:/tmp +ssh -i ~/newvici root@$1 "cd /tmp;tar xvfz inst.tar.gz" +ssh -i ~/newvici root@$1 "wget www/~sapanb/vgup;sh vgup" +ssh -i ~/newvici root@$1 "cp -R /tmp/inst/lib/* /mnt/lib/" +ssh -i ~/newvici root@$1 "rm -fR /tmp/inst/lib; mv /tmp/inst/* /mnt/boot" +sleep 5 +ssh -i ~/newvici root@$1 reboot -- 2.43.0