2013-03-28 15:28:27 +01:00
|
|
|
DEV_SRC='/dev/sda'
|
2014-07-30 21:49:00 +02:00
|
|
|
DEV_DST='sdb1'
|
2013-10-09 17:33:54 +02:00
|
|
|
|
2013-02-15 18:47:13 +01:00
|
|
|
# User allowed to do the following commands without password
|
|
|
|
USERNAME='kitten'
|
2013-10-09 17:33:54 +02:00
|
|
|
MUSIC="/opt/midi/"
|
2013-02-15 18:47:13 +01:00
|
|
|
|
2014-07-30 21:49:00 +02:00
|
|
|
ID=`/usr/bin/id -u`
|
2013-08-02 13:49:13 +02:00
|
|
|
|
2013-02-22 17:35:23 +01:00
|
|
|
# Paths used in multiple scripts
|
2014-07-30 21:49:00 +02:00
|
|
|
SRC="src"
|
|
|
|
DST="dst"
|
|
|
|
TEMP="/media/${DST}/temp"
|
|
|
|
ZIPTEMP="/media/${DST}/ziptemp"
|
|
|
|
LOGS="/media/${DST}/logs"
|
2013-02-22 17:35:23 +01:00
|
|
|
|
|
|
|
|
2013-02-15 18:47:13 +01:00
|
|
|
# commands
|
|
|
|
SYNC='/bin/sync'
|
2013-10-09 17:33:54 +02:00
|
|
|
TIMIDITY='/usr/bin/timidity'
|
2014-03-26 16:40:19 +01:00
|
|
|
MOUNT='/bin/mount'
|
2014-10-01 13:59:48 +02:00
|
|
|
PMOUNT='/usr/bin/pmount -A -s'
|
2014-07-30 21:49:00 +02:00
|
|
|
PUMOUNT='/usr/bin/pumount'
|