Closed task #301 in rc-scripts: /etc/rc.d/init.d/network is not bash compatybile

Flyspray - The bug killer! btsadmin at pld-linux.org
Thu Nov 11 14:56:35 CET 2004


Project: PLD 2.x (Ac)
  
  Package: rc-scripts
  Summary: /etc/rc.d/init.d/network is not bash compatybile
  Closed by: Paweł Sakowski (saq)
  Resolution: Works for me
  Comment: $ cat dupa;bash dupa
interfaces=$((cd /etc/sysconfig/interfaces && ls -1 ifcfg* |
egrep -v '(ifcfg-lo|:)' | egrep 'ifcfg-[a-z0-9]+$' |
awk ' { gsub(/ifcfg-/,NIL); print $0 } ') 2> /dev/null)
echo $interfaces
eth0 eth1 ppp0


For more further see:
http://bugs.pld-linux.org/index.php?do=details&id=301}

------------------------------------------------------------------------
THIS IS AN AUTOMATICALLY GENERATED MESSAGE, DO NOT REPLY





More information about the pld-bugs mailing list