• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba/packaging/Solaris/
1trap 'exit 3' 15
2
3VALSTR=/usr/sadm/bin/valstr
4
5resp=`ckyorn -d y -p "Do you wish to setup the init scripts to automatically start Samba at boot time? (default:y) " -Q`
6$VALSTR -r "^[yY]" $resp
7[ $? -ne 0 ] && exit 0
8CLASSES="$CLASSES initscript"
9cat >$1 <<!
10CLASSES=$CLASSES
11!
12exit 0
13
14