some typo fixes for 5.1
Hi
I've found some typo in code, which causes incorrect modifications in the resulting /etc/thinstation.hosts and group management
Emmanuel
diff --git a/ts/5.1/packages/base/etc/init.d/network_files b/ts/5.1/packages/base/etc/init.d/network_files
index 218b47b..d8101d7 100755
--- a/ts/5.1/packages/base/etc/init.d/network_files
+++ b/ts/5.1/packages/base/etc/init.d/network_files
<at> <at> -78,7 +78,7 <at> <at> get_hosts_file()
HOSTFILE="$CONFHOSTS"hosts
if `transport $BASEPATH/$HOSTFILE /tmp/$HOSTFILE $SERVER_IP` ; then
- catv /tmp/$HOSTFILE sed -e 's/\^M//g' > /tmp/$HOSTFILE.tmp
+ catv /tmp/$HOSTFILE | sed -e 's/\^M//g' > /tmp/$HOSTFILE.tmp
cat /tmp/$HOSTFILE.tmp | sed "s/[[:blank:]][[:blank:]]*/ /g" | grep "^#" -v > $TS_HOSTS
rm /tmp/$HOSTFILE
rm /tmp/$HOSTFILE.tmp
------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________ Thinstation-developer mailing list Thinstation-developer@... https://lists.sourceforge.net/lists/listinfo/thinstation-developer
RSS Feed