summaryrefslogtreecommitdiffstats
path: root/packaging/debian/samba-server.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/debian/samba-server.postinst')
-rw-r--r--packaging/debian/samba-server.postinst28
1 files changed, 0 insertions, 28 deletions
diff --git a/packaging/debian/samba-server.postinst b/packaging/debian/samba-server.postinst
deleted file mode 100644
index b29d2518ccb..00000000000
--- a/packaging/debian/samba-server.postinst
+++ /dev/null
@@ -1,28 +0,0 @@
-#! /bin/sh
-
-set -e
-
-. /usr/share/debconf/confmodule
-
-db_get samba-server/setup-pdc || true
-
-if [ "$RET" = "true" ]; then
- db_get samba-server/realm
- REALM="$RET"
-
- db_get samba-server/domain
- DOMAIN="$RET"
-
- db_get samba-server/password
- PASSWORD="$RET"
-
- db_stop
-
- /usr/lib/samba/setup/provision --realm="$REALM" --domain="$DOMAIN" --adminpass="$PASSWORD"
-else
- db_stop
-fi
-
-#DEBHELPER#
-
-exit 0