From 74f05c5a4d1010f388bb7f360464f32a5d75ef92 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Thu, 25 Sep 2008 18:35:38 +0000 Subject: add image restoration scripts ("restore" command line parameter) from Classmate installer (Caio Begotti) --- rescue/tree/etc/rc.sysinit | 2 ++ 1 file changed, 2 insertions(+) (limited to 'rescue/tree/etc/rc.sysinit') diff --git a/rescue/tree/etc/rc.sysinit b/rescue/tree/etc/rc.sysinit index 26dae0a35..bf8ffa13e 100755 --- a/rescue/tree/etc/rc.sysinit +++ b/rescue/tree/etc/rc.sysinit @@ -64,6 +64,8 @@ elif grep -q rest_all /proc/cmdline; then else partimage_whole_disk -s $partimage_server rest_all $partimage_dir fi +elif grep -q restore /proc/cmdline; then + /usr/sbin/restore-image.sh elif grep -q kamethod /proc/cmdline; then echo "Welcome to Ka" drvinst -- cgit v1.2.1