make sure gettyset will always be in the .depend.start file

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6208 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
mxi1 2010-05-24 07:23:05 +00:00
parent abd05c70e3
commit 9fb095dd43

View File

@ -1199,6 +1199,7 @@ sub generic_post { #This function is meant to leave the image in a state approxi
}
close($cfgfile);
chmod(0755,"$rootimg_dir/etc/init.d/gettyset");
system("chroot $rootimg_dir insserv gettyset");
#link("$rootimg_dir/sbin/init","$rootimg_dir/init");
my $rc = system("grep sshd $rootimg_dir/etc/init.d/.depend.start");
if ($rc) {