FS#27072 - [initscripts] error in functions file
Attached to Project:
Arch Linux
Opened by Mick (earnon) - Saturday, 19 November 2011, 01:26 GMT
Last edited by Dave Reisner (falconindy) - Sunday, 20 November 2011, 03:25 GMT
Opened by Mick (earnon) - Saturday, 19 November 2011, 01:26 GMT
Last edited by Dave Reisner (falconindy) - Sunday, 20 November 2011, 03:25 GMT
|
Details
Description:
Error after load '/etc/rc.d/functions' Additional info: * package version(s): 2011.11.3-1 Steps to reproduce: In a terminal, use the next command [root@host ~]# pacman -S initscripts //accept [root@host ~]# echo '. /etc/rc.d/functions' > /tmp/test [root@host ~]# sh /tmp/test /etc/rc.d/functions: line 497: syntax error near unexpected token `<' /etc/rc.d/functions: line 497: `done < <(findmnt -runRo TARGET,FSTYPE,OPTIONS / | tac)' => remplace '<(findmnt' by '$(findmnt' |
This task depends upon
Closed by Dave Reisner (falconindy)
Sunday, 20 November 2011, 03:25 GMT
Reason for closing: Not a bug
Additional comments about closing: Scripts which source /etc/rc.d/functions MUST be bash. No exceptions.
Sunday, 20 November 2011, 03:25 GMT
Reason for closing: Not a bug
Additional comments about closing: Scripts which source /etc/rc.d/functions MUST be bash. No exceptions.
cd /etc/rc.d/
grep -l '#!/bin/sh' *
And fix manually your scripts, that calls /etc/rc.d/functions :)