From: Sapan Bhatia Date: Sun, 23 Dec 2007 19:44:05 +0000 (+0000) Subject: (no commit message) X-Git-Tag: trellis-2.6.22-Jan-2009~74 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=00cf1b44b407432f0c352ea4c4e87debf1e817d1;p=linux-2.6.git --- 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