-
-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathInstall.sh
More file actions
executable file
·16 lines (13 loc) · 668 Bytes
/
Install.sh
File metadata and controls
executable file
·16 lines (13 loc) · 668 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh
# This is a very simple installation script for throttled.
# Install binaries and throttled-startup script.
echo "Installing throttled 0.6.0 binary."
install -d /usr/local/sbin
install -c throttled /usr/local/sbin/throttled
install -c throttled-startup /usr/local/sbin/throttled-startup
# Install Mac OS X StartupItem.
echo "Installing throttled StartupItem."
install -d /Library/StartupItems/throttledStartup
install -c throttledStartup/StartupParameters.plist /Library/StartupItems/throttledStartup/StartupParameters.plist
install -c throttledStartup/throttledStartup /Library/StartupItems/throttledStartup/throttledStartup
echo "Installation complete."