From: Jo-Philipp Wich Date: Thu, 27 Jan 2011 22:43:17 +0000 (+0000) Subject: mysql: use proper proc file in hostname patch X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=f7a8abd149ff90a2290f8a30fcbb8d3ec50667b1;p=openwrt%2Fsvn-archive%2Fpackages.git mysql: use proper proc file in hostname patch SVN-Revision: 25183 --- diff --git a/libs/mysql/patches/502-fix-hostname.patch b/libs/mysql/patches/502-fix-hostname.patch index 632cb9855..a35c3be83 100644 --- a/libs/mysql/patches/502-fix-hostname.patch +++ b/libs/mysql/patches/502-fix-hostname.patch @@ -5,7 +5,7 @@ # Try to determine the hostname -hostname=`@HOSTNAME@` -+hostname=`cat /proc/net/hostname` ++hostname=`cat /proc/sys/kernel/hostname` # Check if hostname is valid if test "$cross_bootstrap" -eq 0 -a "$in_rpm" -eq 0 -a "$force" -eq 0