annotate docker/base/scripts/sat @ 110:51dc15fbd813

docker (libervia_cont): added check_docker_version function which return 0 if current docker version is greater than wanted one, -1 else
author Goffi <goffi@goffi.org>
date Mon, 29 Feb 2016 21:54:41 +0100
parents b69056368901
children d0a5db5b9bdf
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
105
b69056368901 docker: images optimisation:
Goffi <goffi@goffi.org>
parents:
diff changeset
1 #!/bin/sh
b69056368901 docker: images optimisation:
Goffi <goffi@goffi.org>
parents:
diff changeset
2 # account domain is set, then sat is launched with D-Bus activated
b69056368901 docker: images optimisation:
Goffi <goffi@goffi.org>
parents:
diff changeset
3 chmod a+w /etc/hosts
b69056368901 docker: images optimisation:
Goffi <goffi@goffi.org>
parents:
diff changeset
4 su -c "set_account_domain && dbus-launch /usr/bin/sat $@" sat