This repository has been archived by the owner on Oct 30, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- rearranged init scripts, adding some more.
- Loading branch information
root
committed
May 23, 2013
1 parent
ea481cf
commit 4f08e6e
Showing
7 changed files
with
64 additions
and
18 deletions.
There are no files selected for viewing
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#! /bin/sh | ||
# /etc/init.d/ampbrownie | ||
# | ||
|
||
|
||
# Carry out specific functions when asked to by the system | ||
case "$1" in | ||
start) | ||
echo "Starting script blah " | ||
echo "Could do more here" | ||
;; | ||
stop) | ||
echo "Stopping script blah" | ||
echo "Could do more here" | ||
;; | ||
*) | ||
echo "Usage: /etc/init.d/blah {start|stop}" | ||
exit 1 | ||
;; | ||
esac | ||
|
||
start(){ | ||
/home/pi/ampbrownie/jackstart | ||
guitarix -N | ||
} | ||
|
||
exit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/bin/bash | ||
sudo service ntp stop | ||
sudo service triggerhappy stop | ||
sudo service dbus stop | ||
sudo killall console-kit-daemon | ||
sudo killall polkitd | ||
## Only needed when Jack2 is compiled with D-Bus support | ||
#export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/dbus/system_bus_socket | ||
sudo mount -o remount,size=128M /dev/shm | ||
killall gvfsd | ||
killall dbus-daemon | ||
killall dbus-launch | ||
## Uncomment if you'd like to disable the network adapter completely | ||
#echo -n "1-1.1:1.0" | sudo tee /sys/bus/usb/drivers/smsc95xx/unbind | ||
echo -n performance | sudo tee /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor | ||
jackd -P70 -p16 -t2000 -d alsa -dhw:CODEC -X seq -p 128 -n 3 -r 44100 -s & | ||
#load ajsnapshot setup | ||
#ajsnapshot -r ajampbrownie | ||
exit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters