On Sun, 12 Sep 2004 23:47:49 +0200, Robert 'dzeus' Graużenis <[EMAIL PROTECTED]> wrote:
Nie wiem czemu, ale próba uruchomienia shorewalla na bashu z PLD kończy się takimi wpisami przy starcie: /usr/share/shorewall/firewall[6398]: : bad substitution /usr/share/shorewall/firewall[6398]: : bad substitution Rule "all all tcp - ssh 16" added. /usr/share/shorewall/firewall[6398]: : bad substitution /usr/share/shorewall/firewall[6398]: : bad substitution Rule "all all tcp ssh - 16" added. /usr/share/shorewall/firewall[6398]: : bad substitution /usr/share/shorewall/firewall[6398]: : bad substitution Rule "all all tcp - ftp 16" added. /usr/share/shorewall/firewall[6398]: : bad substitution /usr/share/shorewall/firewall[6398]: : bad substitution Rule "all all tcp ftp - 16" added. /usr/share/shorewall/firewall[6398]: : bad substitution /usr/share/shorewall/firewall[6398]: : bad substitution Rule "all all tcp ftp-data - 8" added. /usr/share/shorewall/firewall[6398]: : bad substitution /usr/share/shorewall/firewall[6398]: : bad substitution i reguły nie są dodawane. Zachowuje sie tak każda wersja od 1.4 do 2.1. Shorewall wymaga: A Bourne shell or derivative such as bash or ash. This shell must have correct support for variable expansion formats ${variable%pattern}, ${variable%%pattern}, ${variable#pattern} and ${variable##pattern}.
Może ktoś bardziej obeznany w temacie mógłby na to spojrzeć, bo narzędzie warte jest uwagi. Pozdrawiam:
skrypty zaczynają się od #!/bin/sh wiele skryptów milcząco zakłada że /bin/sh to jest bash, a u nas jest to pdksh.
Tak przypuszczałem, Jeżeli rozwiązanie będzie aż tak proste to słit :) Sprawdzę w domu.
--
dzeus
_______________________________________________ pld-devel-pl mailing list [EMAIL PROTECTED] http://lists.pld-linux.org/mailman/listinfo/pld-devel-pl
