post-inst questions...

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

 



Hi,

	A last question for today:
I've wrote many command to section %post like this:

%post
...
wget http://www.<domain>.<tld>/fichier.tar.bz2 -O /tmp/fichier.tar.bz2
tar jxf /tmp/fichier.tar.bz2 -C /
wget http://www.<domain>.<tld>/sshd_config -O /etc/ssh/sshd_config
wget http://www.<domain>.<tld>/banner.txt -O /etc/ssh/banner.txt
...


If the first wget work, the twice was follow doesn't...
I was trying to write this:
...
wget http://www.<domain>.<tld>/sshd_config -O /tmp/sshd_config
wget http://www.<domain>.<tld>/banner.txt -O /etc/ssh/banner.txt
mv -f /tmp/sshd_config /tmp/banner.txt /etc/ssh/
...

But It doesn't work too... why ?
I can't see any get on my apache logs...

Regards,

--
Raphaël 'SurcouF' Bordet


[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