From 785a13c6ab657433f458a75ebfae95b8bdc3f204 Mon Sep 17 00:00:00 2001 From: Sapan Bhatia Date: Sun, 23 Dec 2007 20:50:07 +0000 Subject: [PATCH] --- viciinst-boot.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 viciinst-boot.sh diff --git a/viciinst-boot.sh b/viciinst-boot.sh new file mode 100755 index 000000000..15eb9e192 --- /dev/null +++ b/viciinst-boot.sh @@ -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 -- 2.47.0