Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#31337 - ifplugd - /etc/rc.d/ifplugd has syntax error

Attached to Project: Arch Linux
Opened by Joerg Gollnick (wurzelbenutzer) - Thursday, 30 August 2012, 07:05 GMT
Last edited by Thomas Bächler (brain0) - Thursday, 30 August 2012, 09:40 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Thomas Bächler (brain0)
Architecture All
Severity Critical
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Script /etc/rc.d/ifplugd has a syntax error

/etc/rc.d/ifplugd start
/etc/rc.d/ifplugd: line 32: syntax error near unexpected token `fi'
/etc/rc.d/ifplugd: line 32: ` fi'

Additional info:
ifplugd 0.28-12

Steps to reproduce:
/etc/rc.d/ifplugd start

Solution:
--- /root/ifplugd 2012-08-30 09:03:53.601646048 +0200
+++ ifplugd 2012-08-30 08:51:51.225421243 +0200
@@ -24,7 +24,7 @@

for nic in "${net_ifs[@]}"; do
# only start if a PID doesn't already exist
- if [[ ! -f /var/run/ifplugd.$nic.pid ]];
+ if [[ ! -f /var/run/ifplugd.$nic.pid ]]; then
/usr/bin/ifplugd-daemon $nic

# use presence of PID file to check for start success
This task depends upon

Closed by  Thomas Bächler (brain0)
Thursday, 30 August 2012, 09:40 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in 0.28-13, sorry for the inconvenience.

Loading...