summaryrefslogtreecommitdiffstats
path: root/client/shared/etc/init/default.sh
diff options
context:
space:
mode:
authoradv <adv@uma.es>2011-06-14 12:48:18 +0000
committeradv <adv@uma.es>2011-06-14 12:48:18 +0000
commitab2470c502db8cc24022fe52bce9d8475f5867d6 (patch)
tree44d38f0359e865803a3889d7efc62b568c788f3a /client/shared/etc/init/default.sh
parentaf8cca4eb853214dab42d2176bf3c1777ba79c3a (diff)
version 1.0.1 #403 servicio ssh compatible con boot-tools natty
git-svn-id: https://opengnsys.es/svn/branches/version1.0@2059 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'client/shared/etc/init/default.sh')
-rwxr-xr-xclient/shared/etc/init/default.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/client/shared/etc/init/default.sh b/client/shared/etc/init/default.sh
index fe43dacc..51f31dc0 100755
--- a/client/shared/etc/init/default.sh
+++ b/client/shared/etc/init/default.sh
@@ -3,7 +3,8 @@
# TODO Separar esta sección en otro script
# Lanzar servicios complementarios del cliente.
echo -ne "og\nog\n" | passwd root
-/etc/init.d/ssh restart
+#Compatibilidad ssh con el boot-tools 1.0.2
+/etc/init.d/ssh restart || /usr/sbin/sshd
#setterm -blank 0 -powersave off -powerdown 0 < /dev/console > /dev/console 2>&1
ethtool -s $DEVICE wol g 2>/dev/null