[MBT] new ticket for pkg rc-scripts "/etc/rc.d/init.d/network is not bash compatybile"

bugs at pld.org.pl bugs at pld.org.pl
Mon Aug 19 20:47:59 CEST 2002


Date: 2002-08-19 20:47:58+02	Author: Pawel Kolodziej (pawelk) <pawelk at pld.org.pl> 
Title:         /etc/rc.d/init.d/network is not bash compatybile
Ticket ID:     #301
Ticket URL:    http://bugs.pld.org.pl/?bug=301
Package:       rc-scripts-0.3.1-7
Distribution:  PLD-Ra.main
Category:      doesn't work as it should
Current state: opened
Text:

/network script crash when run under bash on line:
interfaces=$((cd /etc/sysconfig/interfaces && ls -1 ifcfg* | \
        egrep -v '(ifcfg-lo|:)' | egrep 'ifcfg-[a-z0-9]+$' | \
        awk ' { gsub(/ifcfg-/,NIL); print {TEXT} } ') 2> /dev/null)

it works well with zsh, but script starts with #!/bin/sh



More information about the pld-bugs mailing list