get rid of needless systemimager monitor service for sysclone

This commit is contained in:
huweihua 2014-11-04 21:52:13 -05:00
parent 23a132c497
commit 9f830ffc17
2 changed files with 19 additions and 6 deletions

View File

@ -1690,12 +1690,19 @@ sub mksysclone
copy("/var/lib/systemimager/scripts/post-install/10all.fix_swap_uuids","$pspath");
}
unless (-r "$pspath/95all.monitord_rebooted")
#unless (-r "$pspath/95all.monitord_rebooted")
#{
# mkpath("$pspath");
# copy("/var/lib/systemimager/scripts/post-install/95all.monitord_rebooted","$pspath");
#}
if(-e "$pspath/95all.monitord_rebooted")
{
mkpath("$pspath");
copy("/var/lib/systemimager/scripts/post-install/95all.monitord_rebooted","$pspath");
`rm $pspath/95all.monitord_rebooted`;
}
# copy hosts
copy("/etc/hosts","$installroot/sysclone/scripts/");

View File

@ -1379,12 +1379,18 @@ sub mksysclone
# copy("/var/lib/systemimager/scripts/post-install/11all.replace_byid_device","$pspath");
#}
unless (-r "$pspath/95all.monitord_rebooted")
#unless (-r "$pspath/95all.monitord_rebooted")
#{
# mkpath("$pspath");
# copy("/var/lib/systemimager/scripts/post-install/95all.monitord_rebooted","$pspath");
#}
if(-e "$pspath/95all.monitord_rebooted")
{
mkpath("$pspath");
copy("/var/lib/systemimager/scripts/post-install/95all.monitord_rebooted","$pspath");
`rm $pspath/95all.monitord_rebooted`;
}
# copy hosts
copy("/etc/hosts","$installroot/sysclone/scripts/");