summaryrefslogtreecommitdiff
path: root/buildpkg.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'buildpkg.sh.in')
-rw-r--r--buildpkg.sh.in14
1 files changed, 7 insertions, 7 deletions
diff --git a/buildpkg.sh.in b/buildpkg.sh.in
index 598056796..22c66fbd4 100644
--- a/buildpkg.sh.in
+++ b/buildpkg.sh.in
@@ -218,19 +218,19 @@ fi
218 218
219[ "${PERMIT_ROOT_LOGIN}" = no ] && \ 219[ "${PERMIT_ROOT_LOGIN}" = no ] && \
220 perl -p -i -e "s/#PermitRootLogin yes/PermitRootLogin no/" \ 220 perl -p -i -e "s/#PermitRootLogin yes/PermitRootLogin no/" \
221 $FAKE_ROOT/${sysconfdir}/sshd_config 221 $FAKE_ROOT${sysconfdir}/sshd_config
222[ "${X11_FORWARDING}" = yes ] && \ 222[ "${X11_FORWARDING}" = yes ] && \
223 perl -p -i -e "s/#X11Forwarding no/X11Forwarding yes/" \ 223 perl -p -i -e "s/#X11Forwarding no/X11Forwarding yes/" \
224 $FAKE_ROOT/${sysconfdir}/sshd_config 224 $FAKE_ROOT${sysconfdir}/sshd_config
225# fix PrintMotd 225# fix PrintMotd
226perl -p -i -e "s/#PrintMotd yes/PrintMotd no/" \ 226perl -p -i -e "s/#PrintMotd yes/PrintMotd no/" \
227 $FAKE_ROOT/${sysconfdir}/sshd_config 227 $FAKE_ROOT${sysconfdir}/sshd_config
228 228
229# We don't want to overwrite config files on multiple installs 229# We don't want to overwrite config files on multiple installs
230mv $FAKE_ROOT/${sysconfdir}/ssh_config $FAKE_ROOT/${sysconfdir}/ssh_config.default 230mv $FAKE_ROOT${sysconfdir}/ssh_config $FAKE_ROOT${sysconfdir}/ssh_config.default
231mv $FAKE_ROOT/${sysconfdir}/sshd_config $FAKE_ROOT/${sysconfdir}/sshd_config.default 231mv $FAKE_ROOT${sysconfdir}/sshd_config $FAKE_ROOT${sysconfdir}/sshd_config.default
232[ -f $FAKE_ROOT/${sysconfdir}/ssh_prng_cmds ] && \ 232[ -f $FAKE_ROOT${sysconfdir}/ssh_prng_cmds ] && \
233mv $FAKE_ROOT/${sysconfdir}/ssh_prng_cmds $FAKE_ROOT/${sysconfdir}/ssh_prng_cmds.default 233mv $FAKE_ROOT${sysconfdir}/ssh_prng_cmds $FAKE_ROOT${sysconfdir}/ssh_prng_cmds.default
234 234
235# local tweeks here 235# local tweeks here
236[ -s "${POST_MAKE_INSTALL_FIXES}" ] && . ${POST_MAKE_INSTALL_FIXES} 236[ -s "${POST_MAKE_INSTALL_FIXES}" ] && . ${POST_MAKE_INSTALL_FIXES}