diff options
-rwxr-xr-x | server/bin/installmodule | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/bin/installmodule b/server/bin/installmodule index b0a4ac5b..fdd25ca4 100755 --- a/server/bin/installmodule +++ b/server/bin/installmodule @@ -73,8 +73,8 @@ source module.conf || exit # Descomprimir Initrd. mkdir -p $tmpinit cd $tmpinit -COMPRESS=$(file -b "$CLIENTINITRD" | awk '{print tolower($1);}') -$COMPRESS -dc $INITRD | cpio -im 2>/dev/null +COMPRESS=$(file -b "$INITRD" | awk '{print tolower($1);}') +$COMPRESS -dc "$INITRD" | cpio -im 2>/dev/null # VersiĆ³n del Kernel del Initrd. KERNEL=$(ls -d lib/modules/[0-9]* | head -1) |