summaryrefslogtreecommitdiffstats
path: root/extras/Solaris/request
diff options
context:
space:
mode:
Diffstat (limited to 'extras/Solaris/request')
-rw-r--r--extras/Solaris/request13
1 files changed, 13 insertions, 0 deletions
diff --git a/extras/Solaris/request b/extras/Solaris/request
new file mode 100644
index 000000000..b1db3a7a9
--- /dev/null
+++ b/extras/Solaris/request
@@ -0,0 +1,13 @@
+trap 'exit 3' 15
+
+VALSTR=/usr/sadm/bin/valstr
+
+resp=`ckyorn -d y -p "Do you wish to have GlusterFS start whenever the system boots up? (default:y) " -Q`
+$VALSTR -r "^[yY]" $resp
+[ $? -eq 0 ] && CLASSES="$CLASSES initscript"
+
+cat >$1 <<!
+CLASSES=$CLASSES
+!
+exit 0
+