Just a suggestion - I don't want it to be forgotten - so I deleted the useless(!?) line 51 in '/config/extrahd.pl'.
As shown in https://forum.ipfire.org/viewtopic.php?f=50&t=19563#p111055 PRINT-output somehow garbles bash-prompt.
Starting 'extrahd.pl' from console: ... root@ipfire: /var/ipfire/extrahd/bin # ./extrahd.pl scanhd ide ...
Leads to: ... scanhd ideroot@ipfire: /var/ipfire/extrahd/bin # ^^^^^^^^^^ ...
I think its just a forgotten debug line.
Jm2C - Best, Matthias
Signed-off-by: Matthias Fischer matthias.fischer@ipfire.org --- config/extrahd/extrahd.pl | 2 -- 1 file changed, 2 deletions(-)
diff --git a/config/extrahd/extrahd.pl b/config/extrahd/extrahd.pl index 3c6fa0280..3b57e9230 100644 --- a/config/extrahd/extrahd.pl +++ b/config/extrahd/extrahd.pl @@ -48,8 +48,6 @@ close FILE; ############################################################################################################################ ############################################################################################################################
-print "$ARGV[0] $ARGV[1]"; - if ( "$ARGV[0]" eq "mount" ) { system("/bin/cp -f /etc/fstab $fstab");
Hi,
yes this is certainly debugging code.
I will merge this as soon as patchwork is back from being updated.
Best, -Michael
On Tue, 2017-10-03 at 15:40 +0200, Matthias Fischer wrote:
Just a suggestion - I don't want it to be forgotten - so I deleted the useless(!?) line 51 in '/config/extrahd.pl'.
As shown in https://forum.ipfire.org/viewtopic.php?f=50&t=19563#p111055 PRINT-output somehow garbles bash-prompt.
Starting 'extrahd.pl' from console: ... root@ipfire: /var/ipfire/extrahd/bin # ./extrahd.pl scanhd ide ...
Leads to: ... scanhd ideroot@ipfire: /var/ipfire/extrahd/bin # ^^^^^^^^^^ ...
I think its just a forgotten debug line.
Jm2C - Best, Matthias
Signed-off-by: Matthias Fischer matthias.fischer@ipfire.org
config/extrahd/extrahd.pl | 2 -- 1 file changed, 2 deletions(-)
diff --git a/config/extrahd/extrahd.pl b/config/extrahd/extrahd.pl index 3c6fa0280..3b57e9230 100644 --- a/config/extrahd/extrahd.pl +++ b/config/extrahd/extrahd.pl @@ -48,8 +48,6 @@ close FILE; ############################################################################# ############################################### ############################################################################# ###############################################
-print "$ARGV[0] $ARGV[1]";
if ( "$ARGV[0]" eq "mount" ) { system("/bin/cp -f /etc/fstab $fstab");