/trunk/debian/lsh-server.postinst |
---|
133,6 → 133,14 |
# Please don't remove this file unless you have first disabled lsh, and don't |
# change the first line ... otherwise lsh-server won't recognise it!!! |
EOF |
if [ -x "/etc/init.d/ssh" ]; then |
if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then |
invoke-rc.d ssh stop || true |
else |
/etc/init.d/ssh stop || true |
fi |
fi |
fi |
fi |