mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
362e4bb21a
(This used to be commit 3ac5f6b59e
)
18 lines
421 B
Plaintext
18 lines
421 B
Plaintext
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
|
|
|