(no commit message)
authorSapan Bhatia <sapanb@cs.princeton.edu>
Sun, 23 Dec 2007 20:50:07 +0000 (20:50 +0000)
committerSapan Bhatia <sapanb@cs.princeton.edu>
Sun, 23 Dec 2007 20:50:07 +0000 (20:50 +0000)
viciinst-boot.sh [new file with mode: 0755]

diff --git a/viciinst-boot.sh b/viciinst-boot.sh
new file mode 100755 (executable)
index 0000000..15eb9e1
--- /dev/null
@@ -0,0 +1,11 @@
+rm -fR inst
+mkdir inst
+make install INSTALL_PATH=inst
+make modules_install INSTALL_MOD_PATH=inst
+tar cfz inst.tar.gz inst
+scp inst.tar.gz root@$1:/tmp
+ssh root@$1 "cd /tmp;tar xvfz inst.tar.gz"
+ssh root@$1 "cp -R /tmp/inst/lib/* /lib/"
+ssh root@$1 "rm -fR /tmp/inst/lib; mv /tmp/inst/* /boot"
+sleep 5
+ssh root@$1 reboot