Skip to content

Commit 0294591

Browse files
committed
Initial commit.
0 parents  commit 0294591

File tree

9 files changed

+516
-0
lines changed

9 files changed

+516
-0
lines changed

.gitattributes

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Recommedations from GitHub help pages
2+
# Set the default behavior, in case people don't have core.autocrlf set.
3+
* text=auto
4+
5+
# Declare files that will always have CRLF line endings on checkout.
6+
*.cmd text eol=crlf
7+
8+
# Declare files that will always have LF line endings on checkout.
9+
*.sh text eol=lf
10+
*.py text eol=lf
11+
12+
# Declare files that are binary on checkout.
13+
*.exe binary

.gitignore

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
backup/
2+
tools/
3+
.idea/
4+
samples/
5+
tests/
6+
build/
7+
dist/
8+
*.spec
9+
*.pyc
10+
*.tgz

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2018 David Parsons
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

bin/smctest.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
grep -il \(c\)AppleComputerInc /bin/vmx*
3+
vim-cmd hostsvc/hosthardware | grep smcPresent | cut -d ',' -f 1 | sed 's/^[ \t]*//'
4+
grep useVmxSandbox /etc/vmware/hostd/config.xml | sed 's/^[ \t]*//'

esxi-build.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/sh
2+
set -e
3+
touch esxi-install.sh esxi-uninstall.sh bin bin/smctest.sh etc etc/rc.local.d etc/rc.local.d/unlocker.py
4+
tar czvf unlocker.tgz bin etc
5+
tar czvf unlocker-esxi-300.tgz unlocker.tgz esxi-install.sh esxi-uninstall.sh

esxi-install.sh

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#!/bin/sh
2+
set -e
3+
#set -x
4+
5+
echo VMware Unlocker 3.0.0
6+
echo ===============================
7+
echo Copyright: Dave Parsons 2011-18
8+
9+
# Ensure we only use unmodified commands
10+
export PATH=/bin:/sbin:/usr/bin:/usr/sbin
11+
12+
echo Installing unlocker.tgz
13+
BootModuleConfig.sh --verbose --add=unlocker.tgz
14+
echo Success - please now restart the server!

esxi-uninstall.sh

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#!/bin/sh
2+
set -e
3+
#set -x
4+
5+
echo VMware Unlocker 3.0.0
6+
echo ===============================
7+
echo Copyright: Dave Parsons 2011-18
8+
9+
# Ensure we only use unmodified commands
10+
export PATH=/bin:/sbin:/usr/bin:/usr/sbin
11+
12+
echo Uninstalling unlocker.tgz
13+
BootModuleConfig.sh --verbose --remove=unlocker.tgz
14+
echo Success - please now restart the server!

0 commit comments

Comments
 (0)