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

    DVBNL

    @DVBNL

    1
    Reputation
    1
    Profile views
    2
    Posts
    0
    Followers
    0
    Following
    Joined Last Online
    Location The Netherlands Age 32

    DVBNL Unfollow Follow

    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

    Latest 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
    • RE: FOG Post install script for Win Driver injection

      I’m experiencing an issue with a Dell OptiPlex 3090. In the postscript:

      “/images/postdownloadscripts/fog.copydrivers: command substitution: line 14: syntax error near unexpected token ‘;;’”

      manu=dmidecode -s system-manufacturer; >> is working fine since it’s returning the next line of code:

      “echo “Unable to identify the hardware for manufacturer ${manu}”;”
      result:
      “Unable to identify the hardware for manufacturer Dell Inc.”

      case $manu in
          [Ll][Ee][Nn][Oo][Vv][Oo])
              machine=$(dmidecode -s system-version)
              ;;
          *[Dd][Ee][Ll][Ll]*)
              machine=$(#)
              ;;
          *I[Nn][Tt][Ee][Ll]*)
              # For the Intel NUC and intel mobo pick up the system type from the
              # baseboard product name
              machine=$(dmidecode -s baseboard-product-name)
              ;;
          *)
              # Technically, we can remove the Dell entry above as it is the same as this [default]
              machine=$(dmidecode -s system-product-name) 
              ;;
      esac
      

      Somewhere in the above code the script is unable to retrieve the product name. I’m still debugging this but maybe someone already resolved this issue?

      posted in Tutorials
      DVBNLD
      DVBNL