code stringlengths 1 1.96M | language stringclasses 1
value |
|---|---|
#!/bin/bash
#
# Copyright (C) 2010 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by a... | Shell |
#!/bin/sh
#
# CA - wrapper around ca to make it easier to use ... basically ca requires
# some setup stuff to be done before you can use it and this makes
# things easier between now and when Eric is convinced to fix it :-)
#
# CA -newca ... will setup the right stuff
# CA -newreq ... will generate a certific... | Shell |
#!/bin/bash
#
# Copyright (C) 2009 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by a... | Shell |
#!/bin/sh
#
# build using pthreads where it's already built into the system
#
/bin/rm -f mttest
gcc -DPTHREADS -I../../include -g mttest.c -o mttest -L../.. -lssl -lcrypto -lpthread
| Shell |
#!/bin/sh
#
# build using pthreads
#
# http://www.mit.edu:8001/people/proven/pthreads.html
#
/bin/rm -f mttest
pgcc -DPTHREADS -I../../include -g mttest.c -o mttest -L../.. -lssl -lcrypto
| Shell |
#!/bin/sh
/bin/rm -f mttest
cc -DSOLARIS -I../../include -g mttest.c -o mttest -L../.. -lthread -lssl -lcrypto -lnsl -lsocket
| Shell |
#!/bin/sh
/bin/rm -f mttest
cc -p -DSOLARIS -I../../include -g mttest.c -o mttest -L/usr/lib/libc -ldl -L../.. -lthread -lssl -lcrypto -lnsl -lsocket
| Shell |
#!/bin/sh
/bin/rm -f mttest
purify cc -DSOLARIS -I../../include -g mttest.c -o mttest -L../.. -lthread -lssl -lcrypto -lnsl -lsocket
| Shell |
#!/bin/bash
#
# Copyright (C) 2010 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by a... | Shell |
#!/bin/sh
if [ "$1" = "" ]; then
key=../apps/server.pem
else
key="$1"
fi
if [ "$2" = "" ]; then
cert=../apps/server.pem
else
cert="$2"
fi
ssltest="adb shell /system/bin/ssltest -key $key -cert $cert -c_key $key -c_cert $cert"
if adb shell /system/bin/openssl x509 -in $cert -text -noout | fgrep 'DSA Public Key... | Shell |
OPENVPN_PACKAGE_NAME="@PACKAGE_NAME@"
OPENVPN_PACKAGE_TARNAME="@PACKAGE_TARNAME@"
OPENVPN_PACKAGE_VERSION="@PACKAGE_VERSION@"
OPENVPN_PACKAGE_HOST="@host@"
| Shell |
#!@SHELL@
#
# run OpenVPN client against ``test reference'' server
# - check that ping, http, ... via tunnel works
# - check that interface config / routes are properly cleaned after test end
#
# prerequisites:
# - openvpn binary in current directory
# - writable current directory to create subdir for logs
# - t_client... | Shell |
#! /bin/sh
#
# t_cltsrv.sh - script to test OpenVPN's crypto loopback
# Copyright (C) 2005, 2006, 2008 Matthias Andree
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of th... | Shell |
#! /bin/sh
echo "${role}:${signal}" >&3
| Shell |
#! /bin/sh
#
# t_lpback.sh - script to test OpenVPN's crypto loopback
# Copyright (C) 2005 Matthias Andree
# Copyright (C) 2014 Steffan Karger
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation;... | Shell |
#!/bin/sh
# Sample script to perform OCSP queries with OpenSSL
# given a certificate serial number.
# If you run your own CA, you can set up a very simple
# OCSP server using the -port option to "openssl ocsp".
# Full documentation and examples:
# http://www.openssl.org/docs/apps/ocsp.html
# Edit the following val... | Shell |
#!/bin/sh
# Copyright (c) 2005-2010 OpenVPN Technologies, Inc.
# Licensed under the GPL version 2
# First version by Jesse Adelman
# someone at boldandbusted dink com
# http://www.boldandbusted.com/
# PURPOSE: This script automatically removes the /etc/resolv.conf entries previously
# set by the companion script "cl... | Shell |
#!/bin/sh
# Copyright (c) 2005-2010 OpenVPN Technologies, Inc.
# Licensed under the GPL version 2
# First version by Jesse Adelman
# someone at boldandbusted dink com
# http://www.boldandbusted.com/
# PURPOSE: This script automatically sets the proper /etc/resolv.conf entries
# as pulled down from an OpenVPN server.... | Shell |
#!/bin/sh
#
# Bring down vpn routing.
# calculate the network address
remote_network=`ipcalc -n "$remote"/"$remote_netmask_bits"`
remote_network="${remote_network#*=}"
# clear routing via VPN
ip route del "$remote_network"/"$remote_netmask_bits" via "$5" table vpn.out
ip route del table vpnonly.out via "$5"
iptabl... | Shell |
#!/bin/sh
#
# Bring up vpn routing.
# calculate the network address
remote_network=`ipcalc -n "$remote"/"$remote_netmask_bits"`
remote_network="${remote_network#*=}"
# add the stuff that doesn't change if it's not already there
grep -q '^202 ' /etc/iproute2/rt_tables
if [ "$?" -ne 0 ]
then
echo 202 vpn.out >> /e... | Shell |
#!/bin/sh
#
# openvpn This shell script takes care of starting and stopping
# openvpn on RedHat or other chkconfig-based system.
#
# chkconfig: 345 24 76
#
# description: OpenVPN is a robust and highly flexible tunneling application \
# that uses all of the encryption, authentication, a... | Shell |
#!/bin/sh
### BEGIN INIT INFO
# Provides: openvpn
# Required-Start: $network
# Required-Stop: $network
# Default-Start: 3 5
# Default-Stop: 0 1 2 6
# Short-Description: This shell script takes care of starting and stopping OpenVP... | Shell |
#!/bin/sh
#################################
# Set up Ethernet bridge on Linux
# Requires: bridge-utils
#################################
# Define Bridge Interface
br="br0"
# Define list of TAP interfaces to be bridged,
# for example tap="tap0 tap1 tap2".
tap="tap0"
# Define physical ethernet interface to be bridged... | Shell |
#!/bin/sh
####################################
# Tear Down Ethernet bridge on Linux
####################################
# Define Bridge Interface
br="br0"
# Define list of TAP interfaces to be bridged together
tap="tap0"
ifconfig $br down
brctl delbr $br
for t in $tap; do
openvpn --rmtun --dev $t
done
| Shell |
#!/bin/sh
#
# Build an OpenVPN plugin module on *nix. The argument should
# be the base name of the C source file (without the .c).
#
# This directory is where we will look for openvpn-plugin.h
CPPFLAGS="${CPPFLAGS:--I../../../include}"
CC="${CC:-gcc}"
CFLAGS="${CFLAGS:--O2 -Wall -g}"
$CC $CPPFLAGS $CFLAGS -fPIC -... | Shell |
#!/bin/sh
#
# Build an OpenVPN plugin module on *nix. The argument should
# be the base name of the C source file (without the .c).
#
# This directory is where we will look for openvpn-plugin.h
CPPFLAGS="${CPPFLAGS:--I../../..}"
CC="${CC:-gcc}"
CFLAGS="${CFLAGS:--O2 -Wall -g}"
$CC $CPPFLAGS $CFLAGS -fPIC -c $1.c &... | Shell |
#!/bin/sh
#
# Build an OpenVPN plugin module on *nix. The argument should
# be the base name of the C source file (without the .c).
#
# This directory is where we will look for openvpn-plugin.h
CPPFLAGS="${CPPFLAGS:--I../../../include}"
CC="${CC:-gcc}"
CFLAGS="${CFLAGS:--O2 -Wall -g}"
$CC $CPPFLAGS $CFLAGS -fPIC -... | Shell |
#!/bin/sh
# A Sample OpenVPN-aware firewall.
# eth0 is connected to the internet.
# eth1 is connected to a private subnet.
# Change this subnet to correspond to your private
# ethernet subnet. Home will use HOME_NET/24 and
# Office will use OFFICE_NET/24.
PRIVATE=10.0.0.0/24
# Loopback address
LOOP=127.0.0.1
# De... | Shell |
#!/bin/sh
# stop all openvpn processes
killall -TERM openvpn
| Shell |
#!/bin/sh
route add -net 10.0.0.0 netmask 255.255.255.0 gw $5
| Shell |
#!/bin/sh
# A sample OpenVPN startup script
# for Linux.
# openvpn config file directory
dir=/etc/openvpn
# load the firewall
$dir/firewall.sh
# load TUN/TAP kernel module
modprobe tun
# enable IP forwarding
echo 1 > /proc/sys/net/ipv4/ip_forward
# Invoke openvpn for each VPN tunnel
# in daemon mode. Alternative... | Shell |
#!/bin/sh
route add -net 10.0.1.0 netmask 255.255.255.0 gw $5
| Shell |
#!/bin/bash
#change dir to where this script is run from:
cd "$( dirname "${BASH_SOURCE[0]}" )"
# Create folder "xpi", if it doesn't exist already
mkdir xpi 1>/dev/null 2>&1
rm -f xpi/*
cd src
zip -r ../xpi/sel-blocks-global.xpi *
| Shell |
#!/bin/bash
#change dir to where this script is run from:
cd "$( dirname "${BASH_SOURCE[0]}" )"
# Based on https://developer.mozilla.org/en/Setting_up_extension_development_environment and http://kb.mozillazine.org/Profile_folder_-_Firefox
cd src
# TODO: Make this script accept an optional parameter, which is a name... | Shell |
#! /bin/bash
mysql -u root < dummy.sql
| Shell |
#! /bin/bash
mysql -u root < schema.sql
| Shell |
#! /bin/bash
mysql -u root < dummy.sql
| Shell |
#! /bin/bash
mysql -u root < schema.sql
| Shell |
#!/usr/bin/env bash
# Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
# For licensing, see LICENSE.html or http://ckeditor.com/license
# Use this file to quickly run the sample under Linux.
adl application.xml ../../
| Shell |
#!/usr/bin/env bash
# Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
# For licensing, see LICENSE.html or http://ckeditor.com/license
# Use this file to quickly run the sample under Linux.
adl application.xml ../../
| Shell |
#!/bin/sh
echo "Content-Type: text/plain"
echo
echo "This is shell script CGI."
| Shell |
#!/bin/sh
echo "echoing bad headers: server must report status 500"
exec 1>&2
echo shit!!!
| Shell |
#!/bin/sh
echo "Content-Type: text/plain"
echo
echo $QUERY_STRING
| Shell |
#!/bin/sh
procfile=/proc/acpi/acer/wireless
sysfile=/sys/devices/platform/acer_acpi/wireless
acerhkfile=/proc/driver/acerhk/wirelessled
if [ -r $procfile ]
then
echo 0 > $procfile
else
if [ -r $sysfile ]
then
echo 0 > $sysfile
else
if [ -r $acerhkfile ]
then
echo 0 > $acerhkfile
else
# something wen... | Shell |
#!/bin/sh
procfile=/proc/acpi/acer/wireless
sysfile=/sys/devices/platform/acer_acpi/wireless
acerhkfile=/proc/driver/acerhk/wirelessled
if [ -r $procfile ]
then
echo 1 > $procfile
else
if [ -r $sysfile ]
then
echo 1 > $sysfile
else
if [ -r $acerhkfile ]
then
echo 1 > $acerhkfile
else
# something wen... | Shell |
#!/bin/sh
procfile=/proc/acpi/acer/wireless
sysfile=/sys/devices/platform/acer_acpi/wireless
acerhkfile=/proc/driver/acerhk/wirelessled
if [ -r $procfile ]
then
echo 0 > $procfile
else
if [ -r $sysfile ]
then
echo 0 > $sysfile
else
if [ -r $acerhkfile ]
then
echo 0 > $acerhkfile
else
# something wen... | Shell |
#!/bin/sh
procfile=/proc/acpi/acer/wireless
sysfile=/sys/devices/platform/acer_acpi/wireless
acerhkfile=/proc/driver/acerhk/wirelessled
if [ -r $procfile ]
then
echo 1 > $procfile
else
if [ -r $sysfile ]
then
echo 1 > $sysfile
else
if [ -r $acerhkfile ]
then
echo 1 > $acerhkfile
else
# something wen... | Shell |
#!/bin/sh
procfile=/proc/acpi/acer/wireless
sysfile=/sys/devices/platform/acer_acpi/wireless
acerhkfile=/proc/driver/acerhk/wirelessled
if [ -r $procfile ]
then
echo 0 > $procfile
else
if [ -r $sysfile ]
then
echo 0 > $sysfile
else
if [ -r $acerhkfile ]
then
echo 0 > $acerhkfile
else
# something wen... | Shell |
#!/bin/sh
procfile=/proc/acpi/acer/wireless
sysfile=/sys/devices/platform/acer_acpi/wireless
acerhkfile=/proc/driver/acerhk/wirelessled
if [ -r $procfile ]
then
echo 1 > $procfile
else
if [ -r $sysfile ]
then
echo 1 > $sysfile
else
if [ -r $acerhkfile ]
then
echo 1 > $acerhkfile
else
# something wen... | Shell |
#!/bin/sh
procfile=/proc/acpi/acer/wireless
sysfile=/sys/devices/platform/acer_acpi/wireless
acerhkfile=/proc/driver/acerhk/wirelessled
if [ -r $procfile ]
then
echo 0 > $procfile
else
if [ -r $sysfile ]
then
echo 0 > $sysfile
else
if [ -r $acerhkfile ]
then
echo 0 > $acerhkfile
else
# something wen... | Shell |
#!/bin/sh
procfile=/proc/acpi/acer/wireless
sysfile=/sys/devices/platform/acer_acpi/wireless
acerhkfile=/proc/driver/acerhk/wirelessled
if [ -r $procfile ]
then
echo 1 > $procfile
else
if [ -r $sysfile ]
then
echo 1 > $sysfile
else
if [ -r $acerhkfile ]
then
echo 1 > $acerhkfile
else
# something wen... | Shell |
#!/bin/bash
#change dir to where this script is run from:
cd "$( dirname "${BASH_SOURCE[0]}" )"
# Based on https://developer.mozilla.org/en/Setting_up_extension_development_environment and http://kb.mozillazine.org/Profile_folder_-_Firefox
cd src
# TODO: Make this script accept an optional parameter, which is a name... | Shell |
#!/bin/bash
#change dir to where this script is run from:
cd "$( dirname "${BASH_SOURCE[0]}" )"
# Create folder "xpi", if it doesn't exist already
mkdir xpi 1>/dev/null 2>&1
rm -f xpi/*
cd src
zip -r ../xpi/sel-blocks-global.xpi *
| Shell |
mvn -e -DpreparationGoals=clean,test release:prepare
| Shell |
xrandr -o 1
sdlroids -f -a 1 -g 640x480 -s
xrandr -o 0
| Shell |
#!/bin/sh
#
# install - install a program, script, or datafile
# This comes from X11R5 (mit/util/scripts/install.sh).
#
# Copyright 1991 by the Massachusetts Institute of Technology
#
# Permission to use, copy, modify, distribute, and sell this software and its
# documentation for any purpose is hereby granted without ... | Shell |
#! /bin/sh
# mkinstalldirs --- make directory hierarchy
# Author: Noah Friedman <friedman@prep.ai.mit.edu>
# Created: 1993-05-16
# Public domain
# $Id: mkinstalldirs,v 1.1 2000/07/09 06:08:33 neotron Exp $
errstatus=0
for file
do
set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`
shift
... | Shell |
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated automatically using autoconf version 2.14.1
# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
#
# This configure script is free software; the Free Software Foundation
# gives unlimited permission to copy, dist... | Shell |
#! /bin/sh
# Common stub for a few missing GNU programs while installing.
# Copyright (C) 1996, 1997 Free Software Foundation, Inc.
# Franc,ois Pinard <pinard@iro.umontreal.ca>, 1996.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as publis... | Shell |
#!/bin/sh
#
# install - install a program, script, or datafile
# This comes from X11R5 (mit/util/scripts/install.sh).
#
# Copyright 1991 by the Massachusetts Institute of Technology
#
# Permission to use, copy, modify, distribute, and sell this software and its
# documentation for any purpose is hereby granted without ... | Shell |
#! /bin/sh
# Common stub for a few missing GNU programs while installing.
# Copyright (C) 1996, 1997 Free Software Foundation, Inc.
# Franc,ois Pinard <pinard@iro.umontreal.ca>, 1996.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as publis... | Shell |
#! /bin/sh
# mkinstalldirs --- make directory hierarchy
# Author: Noah Friedman <friedman@prep.ai.mit.edu>
# Created: 1993-05-16
# Public domain
# $Id: mkinstalldirs,v 1.1 2000/07/09 06:08:33 neotron Exp $
errstatus=0
for file
do
set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`
shift
... | Shell |
#!/bin/bash
################################################################################
#
# Bake is a shell script for running CakePHP bake script
# PHP versions 4 and 5
#
# CakePHP(tm) : Rapid Development Framework (http://www.cakephp.org)
# Copyright 2005-2007, Cake Software Foundation, Inc.
#
# Licensed under ... | Shell |
#!/bin/bash
################################################################################
#
# Bake is a shell script for running CakePHP bake script
# PHP versions 4 and 5
#
# CakePHP(tm) : Rapid Development Framework (http://www.cakephp.org)
# Copyright 2005-2007, Cake Software Foundation, Inc.
#
# Licensed under ... | Shell |
sed -e "s/,/ /g" imagedata_big_green_out.csv > imagedata_big_green_out.txt
sed -e "s/,/ /g" imagedata_big_blue_out.csv > imagedata_big_blue_out.txt
sed -e "s/,/ /g" imagedata_big_red_out.csv > imagedata_big_red_out.txt
| Shell |
#!/bin/sh
cd cpp
make clean
cd ..
RSYNC=/usr/bin/rsync
SSH=/usr/bin/ssh
KEY=/home/taki/.cron/cron
RUSER=mat614
RHOST=polyps.ie.lehigh.edu
RHOST=coral.ie.lehigh.edu
LPATH=/work/software/ac-dc
RPATH=/home/mat614/
$RSYNC -avr $LPATH -e "$SSH -i $KEY" $RUSER@$RHOST:$RPATH
| Shell |
#!/bin/sh
export GOPATH=$PWD
go install -v -ldflags -s tools/goastview
go install -v -ldflags -s tools/godocview
go install -v -ldflags -s tools/goexec
go install -v -ldflags -s tools/gopromake
| Shell |
#!/bin/sh
cp -r -v src/liteapp/images deploy/liteapp/
cp -r -v src/plugins/filebrowser/images deploy/filebrowser/
cp -r -v src/plugins/golangast/images deploy/golangast/
cp -r -v src/plugins/golangfmt/images deploy/golangfmt/
cp -r -v src/plugins/golangpackage/images deploy/golangpackage/
cp -r -v src/plugins/golangas... | Shell |
#!/bin/sh
cp -v LICENSE.LGPL liteide/bin
cp -v LGPL_EXCEPTION.TXT liteide/bin
cp -v README.TXT liteide/bin
cp -r -v deploy/* liteide/bin/LiteIDE.app/Contents/Resources
cp -r -v os_deploy/macosx/* liteide/bin/LiteIDE.app/Contents/Resources
#cp -v liteide/bin/goastview liteide/bin/LiteIDE.app/Contents/MacOS
#cp -v litei... | Shell |
#!/bin/sh
cp -v LICENSE.LGPL liteide
cp -v LGPL_EXCEPTION.TXT liteide
cp -v README.TXT liteide
mkdir -p liteide/share/liteide/
cp bin/* liteide/bin
cp -r -v deploy/* liteide/share/liteide/
cp -r -v os_deploy/linux/* liteide/share/liteide/
| Shell |
#!/bin/sh
exec twistd --pidfile c2s.beta.pid -n kontalk-c2s -c c2s.beta.conf
| Shell |
#!/bin/sh
GNUPGHOME=$PWD/.gnupg-cache exec twistd --pidfile resolver.pid -n kontalk-resolver
| Shell |
#!/bin/sh
./run-test ./client_auth.py 584fb3000e857d399b0c99fe14ba65df8663e697DXRTQL31 e73ea3be23d0449597a82c62ed981f584a5c181bLO3L8CE4
| Shell |
#!/bin/bash
# Generates some fake presences SQL for the presence table
SQL="INSERT INTO presence (userid, timestamp) VALUES('%s', NOW());\n"
COUNT=$1
for (( i=0; i<$COUNT; i++ )); do
TEXT=$(< /dev/urandom tr -dc a-f0-9 | head -c 40)
printf "$SQL" $TEXT
done
| Shell |
#!/bin/bash
PYTHONPATH=..:. $*
| Shell |
#!/bin/sh
./run-test ./client_auth.py 584fb3000e857d399b0c99fe14ba65df8663e697DXRTQL31 e73ea3be23d0449597a82c62ed981f584a5c181b
| Shell |
#!/bin/sh
exec twistd --pidfile resolver.beta.pid -n kontalk-resolver -c resolver.beta.conf
| Shell |
#!/bin/sh
exec twistd --pidfile net.pid -n kontalk-net
| Shell |
#!/bin/sh
exec twistd --pidfile s2s.pid -n kontalk-s2s
| Shell |
#!/bin/sh
exec twistd --pidfile router.beta.pid -n kontalk-router -c router.beta.conf
| Shell |
#!/bin/sh
exec twistd --pidfile router.pid -n kontalk-router
| Shell |
#!/bin/sh
exec twistd --pidfile fileserver.pid -n kontalk-fileserver
| Shell |
#!/bin/sh
exec twistd --pidfile s2s.beta.pid -n kontalk-s2s -c s2s.beta.conf
| Shell |
#!/bin/sh
GNUPGHOME=$PWD/.gnupg exec twistd --pidfile c2s.pid -n kontalk-c2s
| Shell |
#!/bin/sh
exec twistd --pidfile net.beta.pid -n kontalk-net -c net.beta.conf
| Shell |
#/bin/sh
rm -f ../gwtp-samples-$GWTPVER.zip ../gwtp-separate-$GWTPVER.zip ../gwtp-all-$GWTPVER.zip
rm -rf ../gwtp-samples/ ../gwtp-separate/ ../gwtp-all/
hg update gwtp-$GWTPVER
mvn clean
find . -name ".?*" -a -not -name ".hg*" -exec rm -rf {} \;
zip -r ../gwtp-samples-$GWTPVER.zip gwtp-samples
mvn install
cd ..
REPO=... | Shell |
#!/bin/sh
# Don't forget chmod +x codereviewMac.sh to mac this script executable
if [ -z $1 ]; then
echo "Usage:"
echo " codereview youremail@abc.com 22 24 \"Patchset comment\""
echo " Creates a new patch set for code review by comparing revision 22"
echo " with revision 24. The patchset is sent on... | Shell |
#!/bin/sh
# update caches
rm -R ${targetVolume}/System/Library/Caches/
kextcache -update-volume ${targetVolume} -f
exit 0 | Shell |
#!/bin/sh
# Install Menu Extra
open /Library/Application\ Support/HWMonitor/MenuCracker.menu
sleep 3
open /Library/Application\ Support/HWMonitor/HWMonitorExtra.menu
sleep 3
killall SystemUIServer
exit 0 | Shell |
#!/bin/sh
killall SystemUIServer
exit 0 | Shell |
#!/bin/sh
killall SystemUIServer
exit 0 | Shell |
#!/bin/sh
# update caches
rm -R ${targetVolume}/System/Library/Caches/
kextcache -update-volume ${targetVolume} -f
exit 0 | Shell |
#!/bin/sh
# Install Menu Extra
open /Library/Application\ Support/HWMonitor/MenuCracker.menu
sleep 3
open /Library/Application\ Support/HWMonitor/HWMonitorExtra.menu
sleep 3
killall SystemUIServer
exit 0 | Shell |
#!/bin/sh
# remove FakeSMC.kext
rm -R ${targetVolume}/System/Library/Extensions/FakeSMC.kext
exit 0 | Shell |
#!/bin/sh
# remove FakeSMC.kext
rm -R ${targetVolume}/System/Library/Extensions/FakeSMC.kext
exit 0 | Shell |
#!/bin/bash
echo "==============================================="
echo "Unmount all volumes named EFI"
# loop through and un-mount ALL mounted 'EFI' system partitions - Thanks kizwan
# Receives targetVolumeChosenByUser: To write install log to.
# Receives scriptDir: The location of the main script dir.
if [ "$#" -... | Shell |
#!/bin/bash
echo "==============================================="
echo "CheckDiskMicrocode: Any existing bootloaders?"
echo "*********************************************"
# Reads the GPTdiskProtectiveMBR and searches for an existing
# Windows bootloader and also for an existing Chameleon stage 0 loader
# which migh... | Shell |
#!/bin/bash
echo "==============================================="
echo "Check Proceed: Can the installation continue?"
echo "***********************************************"
# Checks the selected volume is present and the disk is partitioned
# Now also check for another existing Chameleon installation on the same di... | Shell |
#!/bin/bash
echo "==============================================="
echo "Unmount all volumes named EFI"
# loop through and un-mount ALL mounted 'EFI' system partitions - Thanks kizwan
# Receives targetVolumeChosenByUser: To write install log to.
# Receives scriptDir: The location of the main script dir.
if [ "$#" -... | Shell |
#!/bin/bash
echo "==============================================="
echo "MountESP: Mount the EFI system partition"
echo "***********************************************"
# Creates a mountpoint and mounts /Volumes/EFI of the
# supplied disk which would have been pre-checked as using a GPT
# Receives targetDisk: for e... | Shell |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.