1trap 'exit 3' 15
2
3VALSTR=/usr/sadm/bin/valstr
4
5resp=`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
9resp=`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
13cat >$1 <<!
14CLASSES=$CLASSES
15!
16exit 0
17
18