Gentoo Archives: gentoo-commits

From: "George Shapovalov (george)" <george@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-fs/coda/files: vice-setup.in.patch
Date: Mon, 10 May 2010 22:07:16
Message-Id: 20100510220708.9ED902C5DB@corvid.gentoo.org
1 george 10/05/10 22:07:08
2
3 Added: vice-setup.in.patch
4 Log:
5 new version out. FHS compliance and gcc-4.4 support
6 (Portage version: 2.1.8.3/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.1 net-fs/coda/files/vice-setup.in.patch
10
11 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/coda/files/vice-setup.in.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/coda/files/vice-setup.in.patch?rev=1.1&content-type=text/plain
13
14 Index: vice-setup.in.patch
15 ===================================================================
16 diff -ru coda-6.9.5.orig/coda-src/scripts/vice-setup.in coda-6.9.5/coda-src/scripts/vice-setup.in
17 --- coda-6.9.5.orig/coda-src/scripts/vice-setup.in 2008-08-08 21:09:37.000000000 +0200
18 +++ coda-6.9.5/coda-src/scripts/vice-setup.in 2010-05-10 17:12:22.013409206 +0200
19 @@ -345,57 +345,9 @@
20 DP=`cat ${vicedir}/db/vicetab | awk '{print $2}' | head -n 1`
21 echo "Congratulations: your configuration is ready..."
22 echo
23 -
24 - start=""
25 - yesno=""
26 - until [ "x$yesno" != x ]; do
27 - echon 'Shall I try to get things started? (y/n) '
28 - read yesno
29 - done
30 - if [ "x$yesno" = xy -o "x$yesno" = xyes -o "x$yesno" = xY ]; then
31 - start=Y
32 - else
33 - echo "Here is what you would have to do to get things up and running"
34 - fi
35 -
36 - set -e
37 - echo " - Coda authentication server (auth2 &)"
38 - [ "$start" ] && @sbindir@/auth2 &
39 - echo " - Coda update server (updatesrv)"
40 - [ "$start" ] && @sbindir@/updatesrv
41 - echo " - Coda update client (updateclnt -h $hn)"
42 - [ "$start" ] && @sbindir@/updateclnt -h $hn
43 -
44 - if [ $numservers = 1 ]; then
45 - echo " - Coda file server (startserver)"
46 - [ "$start" ] && @sbindir@/startserver
47 - else
48 - echo " - Coda file servers:"
49 - n=1
50 - while [ $n -le $numservers ]; do
51 - echo " startserver -n $n"
52 - [ "$start" ] && @sbindir@/startserver -n $n
53 - n=`expr $n + 1`
54 - done
55 - fi
56 - echo
57 -
58 - if [ "$start" ] ; then
59 - echo
60 - echo "Nice, it looks like everything went ok"
61 - echo "Now I'll try to create an initial root volume"
62 - fi
63 -
64 - echo " - createvol_rep / ${hn}${DP}"
65 - [ "$start" ] && @sbindir@/createvol_rep / ${hn}${DP}
66 -
67 - if [ "$start" ] ; then
68 - echo
69 - echo "That seems to have worked..."
70 - echo "If you have a working Coda client you should now be able to"
71 - echo "access the new Coda realm"
72 - echo " - cfs lv /coda/${hn}/"
73 - fi
74 + echo "To test configuration run /etc/init.d/codasrv start"
75 + echo "To start coda server at boot, run rc-update add codasrv default"
76 + echo "To create root volume run: createvol_rep / ${hn}${DP}"
77 echo
78 echo "enjoy Coda."
79 echo " for more information see http://www.coda.cs.cmu.edu."