/etc/mysql/my.cnf && restart=yes || true
# ukljuci podrsku za hrvatsko znakovlje
- if ! grep -q default-character-set /etc/mysql/my.cnf; then
- awk '/^\[mysqld\]/{print "[mysqld]"; print "default-character-set=croat"; getline}{print $0}' \
- /etc/mysql/my.cnf > /etc/mysql/mysql-cn.$$
- cp_mv /etc/mysql/mysql-cn.$$ /etc/mysql/my.cnf
- restart=yes
- fi
+ # ne radi na Etch-u
+ #if ! grep -q default-character-set /etc/mysql/my.cnf; then
+ # awk '/^\[mysqld\]/{print "[mysqld]"; print "default-character-set=croat"; getline}{print $0}' \
+ # /etc/mysql/my.cnf > /etc/mysql/mysql-cn.$$
+ # cp_mv /etc/mysql/mysql-cn.$$ /etc/mysql/my.cnf
+ # restart=yes
+ #fi
fi
# pristup samo sa lokalne mreze, preko tcp-wrappera...