summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2014-05-08 09:57:11 +0400
committerIgor Pashev <pashev.igor@gmail.com>2014-05-08 09:57:11 +0400
commitefa297a93a79c0b2b12dd64cdd4bdaca0e43555b (patch)
treeb05f108e6f2188bc665a0617a4db196529828c02
parentf4319e7880127c4cd682e3fbfa4689a22c6d843a (diff)
downloadlive-efa297a93a79c0b2b12dd64cdd4bdaca0e43555b.tar.gz
Disable ssh by default
-rwxr-xr-xprotostar2
1 files changed, 2 insertions, 0 deletions
diff --git a/protostar b/protostar
index 0000590..9052684 100755
--- a/protostar
+++ b/protostar
@@ -178,6 +178,8 @@ echo "$dummy_prog" > "${ROOT}/lib/svc/method/fs-usr"
echo "$dummy_prog" > "${ROOT}/lib/svc/method/boot-archive"
echo "$dummy_prog" > "${ROOT}/lib/svc/method/boot-archive-update"
+# Disable SSH server by default
+sed -i 's,enabled="true",enabled="false",' "${ROOT}/lib/svc/manifest/network/ssh.xml"
echo "Importing manifests..."
rm -f "${ROOT}/etc/svc/repository.db"