https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
8 lines
231 B
Bash
8 lines
231 B
Bash
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
ETCDIR=/etc/vmware
|
|
. $ETCDIR/bootstrap
|
|
|
|
exec "$LIBDIR"/vmware/bin/vmware-zenity --error --text "Reboot is required to load VMware kernel modules (make sure that 'virtualisation.vmware.host.enable' is enabled)"
|