File: request

package info (click to toggle)
samba 3.0.24-6etch10
  • links: PTS
  • area: main
  • in suites: etch
  • size: 49,836 kB
  • ctags: 44,390
  • sloc: ansic: 335,711; sh: 8,133; perl: 7,045; makefile: 3,107; python: 2,370; exp: 1,147; yacc: 881; awk: 486; csh: 58; sed: 45
file content (17 lines) | stat: -rw-r--r-- 421 bytes parent folder | download | duplicates (15)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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