Browse Source

fixed openssh by moving the sysconfdir overwrite to the correct place

git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@2243 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc
rocklinux
Rene Rebe 21 years ago
parent
commit
193198080b
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      package/base/openssh/openssh.conf

+ 3
- 3
package/base/openssh/openssh.conf

@ -20,7 +20,6 @@
#
# --- ROCK-COPYRIGHT-NOTE-END ---
pm_openssh() {
install_init sshd $confdir/sshd.init
cp $confdir/stone_mod_sshd.sh $root/etc/stone.d/mod_sshd.sh
@ -28,6 +27,9 @@ pm_openssh() {
LD=gcc
[ "$sysconfdir" = "$root/etc" ] && \
sysconfdir=$root/etc/ssh
confopt="$confopt \
--sysconfdir=\$sysconfdir \
--with-md5-passwords \
@ -41,5 +43,3 @@ fi
makeinstopt="install-nokeys"
postmake="pm_openssh"
[ "$sysconfdir" = "$root/etc" ] && \
sysconfdir=$root/etc/ssh

Loading…
Cancel
Save