diff options
author | Olivier Blin <oblin@mandriva.com> | 2008-09-25 18:35:38 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2008-09-25 18:35:38 +0000 |
commit | 74f05c5a4d1010f388bb7f360464f32a5d75ef92 (patch) | |
tree | 30a31758b55ac66b708d803e8d158088afca20e8 /rescue/tree | |
parent | fd8293630e710c3da9ce840c57384639c4289209 (diff) | |
download | drakx-backup-do-not-use-74f05c5a4d1010f388bb7f360464f32a5d75ef92.tar drakx-backup-do-not-use-74f05c5a4d1010f388bb7f360464f32a5d75ef92.tar.gz drakx-backup-do-not-use-74f05c5a4d1010f388bb7f360464f32a5d75ef92.tar.bz2 drakx-backup-do-not-use-74f05c5a4d1010f388bb7f360464f32a5d75ef92.tar.xz drakx-backup-do-not-use-74f05c5a4d1010f388bb7f360464f32a5d75ef92.zip |
add image restoration scripts ("restore" command line parameter) from Classmate installer (Caio Begotti)
Diffstat (limited to 'rescue/tree')
-rwxr-xr-x | rescue/tree/etc/rc.sysinit | 2 |
1 files changed, 2 insertions, 0 deletions
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 |