From 9fb095dd43f1b5e5242cd5e46f1e0031f338513a Mon Sep 17 00:00:00 2001 From: mxi1 Date: Mon, 24 May 2010 07:23:05 +0000 Subject: [PATCH] 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 --- xCAT-server/share/xcat/netboot/sles/genimage | 1 + 1 file changed, 1 insertion(+) diff --git a/xCAT-server/share/xcat/netboot/sles/genimage b/xCAT-server/share/xcat/netboot/sles/genimage index bfeae948a..5d556b4a4 100755 --- a/xCAT-server/share/xcat/netboot/sles/genimage +++ b/xCAT-server/share/xcat/netboot/sles/genimage @@ -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) {