~zulcss/samba/server-dailies-3.4

« back to all changes in this revision

Viewing changes to packaging/Solaris/request

  • Committer: Chuck Short
  • Date: 2010-09-28 20:38:39 UTC
  • Revision ID: zulcss@ubuntu.com-20100928203839-pgjulytsi9ue63x1
Initial version

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
trap 'exit 3' 15
 
2
 
 
3
VALSTR=/usr/sadm/bin/valstr
 
4
 
 
5
resp=`ckyorn -d y -p "Do you wish to have Samba start whenever the system boots up? (default:y) " -Q`
 
6
$VALSTR -r "^[yY]" $resp
 
7
[ $? -eq 0 ] && CLASSES="$CLASSES initscript"
 
8
 
 
9
resp=`ckyorn -d y -p "Do you wish to set up the Samba Web Admin Tool (SWAT)? (default:y) " -Q`
 
10
$VALSTR -r "^[yY]" $resp
 
11
[ $? -eq 0 ] && CLASSES="$CLASSES swat"
 
12
 
 
13
cat >$1 <<!
 
14
CLASSES=$CLASSES
 
15
!
 
16
exit 0
 
17