summaryrefslogtreecommitdiffstats
path: root/packaging/Solaris/request
diff options
context:
space:
mode:
authorShirish Kalele <kalele@samba.org>2001-04-11 02:28:38 +0000
committerShirish Kalele <kalele@samba.org>2001-04-11 02:28:38 +0000
commit362e4bb21a3c630eb0625a1b3ab9f70dafc85d7e (patch)
treedc8d9981f58d0e92f49cbf71a2364b49c215a9bb /packaging/Solaris/request
parent91e97f90919fdc3bd2d26a5809cc3d037dbe4b22 (diff)
downloadsamba-362e4bb21a3c630eb0625a1b3ab9f70dafc85d7e.tar.gz
samba-362e4bb21a3c630eb0625a1b3ab9f70dafc85d7e.tar.xz
samba-362e4bb21a3c630eb0625a1b3ab9f70dafc85d7e.zip
Adding Solaris packaging files to HEAD.
(This used to be commit 3ac5f6b59ee30d12bfec0cc36cf00b9e9798a453)
Diffstat (limited to 'packaging/Solaris/request')
-rw-r--r--packaging/Solaris/request17
1 files changed, 17 insertions, 0 deletions
diff --git a/packaging/Solaris/request b/packaging/Solaris/request
new file mode 100644
index 00000000000..59cdd0ab22a
--- /dev/null
+++ b/packaging/Solaris/request
@@ -0,0 +1,17 @@
+trap 'exit 3' 15
+
+VALSTR=/usr/sadm/bin/valstr
+
+resp=`ckyorn -d y -p "Do you wish to have Samba start whenever the system boots up? (default:y) " -Q`
+$VALSTR -r "^[yY]" $resp
+[ $? -eq 0 ] && CLASSES="$CLASSES initscript"
+
+resp=`ckyorn -d y -p "Do you wish to set up the Samba Web Admin Tool (SWAT)? (default:y) " -Q`
+$VALSTR -r "^[yY]" $resp
+[ $? -eq 0 ] && CLASSES="$CLASSES swat"
+
+cat >$1 <<!
+CLASSES=$CLASSES
+!
+exit 0
+