summaryrefslogtreecommitdiffstats
path: root/client/shared/etc/init/default.sh
diff options
context:
space:
mode:
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