Re: Determining if system has multiple processors in %post sectio n

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On friday Feb 8 2002, Richard Wilson wrote:
> Anne:
> Can I take a look at this script?
> I'd like to see how you automate the root logon, or prompt for a password
> prior to logon.
> I'm quite new at Linux, under two months.

Sure. I attach it. Comments are in french and it does differents things...

In the %post --interpreter /usr/bin/perl there are (NFS installation)
(I extract some lines with some modifications)
mkdir("/mnt/redhat",0755);
system("/bin/mount $KS_EPFL_RHSERVER.epfl.ch:$KS_EPFL_RHDIR /mnt/redhat\n");
use File::Copy;
my $postinstallDir="/mnt/redhat/EPFL/postinstall/";
copy("$postinstallDir/ks-post-install-root.sh","/etc/rc.d/init.d/ks-post-insta
ll-root");
chmod(0700,"/etc/rc.d/init.d/ks-post-install-root");
symlink("../init.d/ks-post-install-root","/etc/rc.d/rc3.d/S87ks-post-install-r
oot");


				Anne

Attachment: ks-post-install-root.sh
Description: ks-post-install-root.sh


[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux