File tree 2 files changed +27
-0
lines changed
2 files changed +27
-0
lines changed Original file line number Diff line number Diff line change 242
242
chown 0:0 $dc
243
243
chmod 0600 $dc
244
244
245
+ feedback_cnf=$mariadb_cfgdir /mariadb.conf.d/feedback.cnf
246
+ if [ ! -f $feedback_cnf ]; then
247
+ if db_input high mariadb-server/feedback_optin; then
248
+ db_go || true
249
+ fi
250
+ db_get mariadb-server/feedback_optin
251
+ {
252
+ echo " # THIS IS A GENERATED FILE. ALL CHANGES TO IT MIGHT BE LOST." ;
253
+ echo " [server]" ;
254
+ if [ " $RET " = true ]; then
255
+ echo " feedback=ON" ;
256
+ else
257
+ echo " feedback=OFF" ;
258
+ fi
259
+ } >> $feedback_cnf
260
+ fi
261
+
245
262
# If there is a real AppArmor profile, we reload it.
246
263
# If the default empty profile is installed, then we remove any old
247
264
# profile that may be loaded.
Original file line number Diff line number Diff line change @@ -43,3 +43,13 @@ _Description: Remove all MariaDB databases?
43
43
If you're removing the MariaDB package in order to later install a more
44
44
recent version or if a different mariadb-server package is already
45
45
using it, the data should be kept.
46
+
47
+ Template: mariadb-server/feedback_optin
48
+ Type: boolean
49
+ Default: false
50
+ _Description: Enable the Feedback plugin and submit anonymous usage information?
51
+ Feedback plugin for MariaDB, if enabled, collects basic anonymous
52
+ statistical information. This information is used by the developers to
53
+ improve MariaDB. Enabling this plugin is an easy way to help with MariaDB
54
+ development. Collected statistics, and more information on the plugin,
55
+ can be viewed at http://mariadb.org/feedback_plugin
You can’t perform that action at this time.
0 commit comments