File tree 1 file changed +20
-2
lines changed
1 file changed +20
-2
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,25 @@ case ${product} in
15
15
* ) ;;
16
16
esac
17
17
18
- curl -v -d " nickname=$USER " -d " email=$USER @$( hostname) " -d \
19
- " description=FreeBSD/$( uname -m) on ${maker} ${product} " -d \
18
+ if [ " $USER " = " olivier" ]; then
19
+ email=" $USER @FreeBSD.org"
20
+ else
21
+ email=" $USER @$( hostname) "
22
+ fi
23
+ description=" FreeBSD $( uname -r) /$( uname -m) on ${maker} ${product} "
24
+
25
+ echo " USER = $USER "
26
+ echo " email = $email "
27
+ echo " description= ${description} "
28
+
29
+ echo " Do you confirm those variable? (y/n)"
30
+ user_confirm=" "
31
+ while [ " ${user_confirm} " != " y" -a " ${user_confirm} " != " n" ]; do
32
+ read user_confirm < & 1
33
+ done
34
+ [ " ${user_confirm} " = " n" ] && exit 0
35
+
36
+ curl -v -d " nickname=$USER " -d " email=$email " -d \
37
+ " description=$description " -d \
20
38
" do=addd" --data-urlencode ' dmesg@/var/run/dmesg.boot' \
21
39
http://dmesgd.nycbug.org/index.cgi
You can’t perform that action at this time.
0 commit comments