• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. DVBNL
    3. Best
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 2
    • Best 1
    • Controversial 0
    • Groups 0

    Best posts made by DVBNL

    • RE: FOG Post install script for Win Driver injection

      @dvbnl

      Fixed it with the following code:

      #!/bin/bash
      ceol=`tput el`;
      manu=`dmidecode -s system-manufacturer`;
      dots "Identifying hardware"
      case $manu in
          [Ll][Ee][Nn][Oo][Vv][Oo])
              machine=$(dmidecode -s system-version)
              ;;
          *I[Nn][Tt][Ee][Ll]*)
              # baseboard-product-name
              machine=$(dmidecode -s baseboard-product-name)
              ;;
          *)
              # system-product-name
              machine=$(dmidecode -s system-product-name)
              ;;
      esac
      
      posted in Tutorials
      DVBNLD
      DVBNL
    • 1 / 1