diff --git a/sbin/snail.nv_pwr_off b/sbin/snail.nv_pwr_off index a66aea2..f876761 100755 --- a/sbin/snail.nv_pwr_off +++ b/sbin/snail.nv_pwr_off @@ -16,7 +16,7 @@ fi # Trying acpi_call method if [ -f /proc/acpi/call ]; then - model=`dmidecode $@ -s system-product-name` + model=`dmidecode -s system-product-name` # FIXME: baseboard-product-name ? case "$model" in M11XR2) echo '\_SB.PCI0.P0P2.PEGP.NVOP 0 0x100 0x1A {255,255,255,255}' > /proc/acpi/call \ diff --git a/sbin/snail.nv_pwr_on b/sbin/snail.nv_pwr_on index a7c1e23..083cf69 100755 --- a/sbin/snail.nv_pwr_on +++ b/sbin/snail.nv_pwr_on @@ -14,7 +14,7 @@ fi # Trying acpi_call method if [ -f /proc/acpi/call ]; then - model=`dmidecode $@ -s system-product-name` + model=`dmidecode $@ -s system-product-name` # FIXME: baseboard-product-name ? case "$model" in M11XR2) echo '\_SB.PCI0.P0P2.PEGP._PS0' > /proc/acpi/call