get rid of needless systemimager monitor service for sysclone
This commit is contained in:
parent
23a132c497
commit
9f830ffc17
@ -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/");
|
||||
|
||||
|
@ -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/");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user