projects
/
feisty_meow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
57720a3
)
added back in sourcing of functions.sh where date_stringer is needed.
author
Fred T. Hamster
<fred@wolfe.gruntose.blurgh>
Tue, 31 Jan 2012 01:58:19 +0000
(20:58 -0500)
committer
Fred T. Hamster
<fred@wolfe.gruntose.blurgh>
Tue, 31 Jan 2012 01:58:19 +0000
(20:58 -0500)
scripts/buildor/stdbuild.sh
patch
|
blob
|
history
scripts/core/create_tempdir.sh
patch
|
blob
|
history
scripts/core/i.sh
patch
|
blob
|
history
scripts/database/backup_mysql_dbs.sh
patch
|
blob
|
history
scripts/files/find_bad_protection.sh
patch
|
blob
|
history
scripts/opensim/backup_opensim.sh
patch
|
blob
|
history
scripts/opensim/backup_osgrid.sh
patch
|
blob
|
history
scripts/system/osx_cd_mounter.sh
patch
|
blob
|
history
scripts/tty/keep_awake_process.sh
patch
|
blob
|
history
scripts/tty/lockup.sh
patch
|
blob
|
history
scripts/users/byejob.sh
patch
|
blob
|
history
diff --git
a/scripts/buildor/stdbuild.sh
b/scripts/buildor/stdbuild.sh
index a9fb23cc4e090da6847c894c61d020f722545f90..a084d3b1fd8dbeb91a641358dc3ec3da137f7435 100644
(file)
--- a/
scripts/buildor/stdbuild.sh
+++ b/
scripts/buildor/stdbuild.sh
@@
-5,6
+5,8
@@
#
# go to the main folder of the project you're building before you run this.
#
# go to the main folder of the project you're building before you run this.
+source "$FEISTY_MEOW_SCRIPTS/core/functions.sh"
+
echo "$(date_stringer)"
echo "Building application from $(\pwd)"
echo " via standard 'configure;make;sudo make install' process..."
echo "$(date_stringer)"
echo "Building application from $(\pwd)"
echo " via standard 'configure;make;sudo make install' process..."
diff --git
a/scripts/core/create_tempdir.sh
b/scripts/core/create_tempdir.sh
index 55899274889144cd1a771bbaec30bfde468af3fc..9cbb89f9817d94d9eb147c6b5c27521c04b37937 100644
(file)
--- a/
scripts/core/create_tempdir.sh
+++ b/
scripts/core/create_tempdir.sh
@@
-7,6
+7,8
@@
if [ ! -z "$SHELL_DEBUG" ]; then echo creating temporary directory...; fi
if [ ! -z "$SHELL_DEBUG" ]; then echo creating temporary directory...; fi
+source "$FEISTY_MEOW_SCRIPTS/core/functions.sh"
+
if [ -z "$TMP" ]; then
export TMP=$HOME/.tmp
# main declaration of the transients area.
if [ -z "$TMP" ]; then
export TMP=$HOME/.tmp
# main declaration of the transients area.
diff --git
a/scripts/core/i.sh
b/scripts/core/i.sh
index 865c5b142956635460794fc7a9c596e6ed83f2cc..7c174b7f765e9e9e106851bbe0c9a244ed8528e9 100644
(file)
--- a/
scripts/core/i.sh
+++ b/
scripts/core/i.sh
@@
-1,5
+1,7
@@
#!/bin/bash
#!/bin/bash
+source "$FEISTY_MEOW_SCRIPTS/core/functions.sh"
+
(
echo '###############################################################################'
echo
(
echo '###############################################################################'
echo
diff --git
a/scripts/database/backup_mysql_dbs.sh
b/scripts/database/backup_mysql_dbs.sh
index 551da0f71f789a302617944de8b261f28cb86806..c9bbab239c0f8ce15b1d8d9c08b1bd614dc6a968 100644
(file)
--- a/
scripts/database/backup_mysql_dbs.sh
+++ b/
scripts/database/backup_mysql_dbs.sh
@@
-1,4
+1,6
@@
#!/bin/bash
#!/bin/bash
+source "$FEISTY_MEOW_SCRIPTS/core/functions.sh"
+
temphost=$(hostname | sed -e 's/\([^.]*\)\..*/\1/')
tar -czf /z/stuffing/archives/backup_dbs_${temphost}_$(date_stringer).tar.gz /home/archives/mysql_dbs/*
temphost=$(hostname | sed -e 's/\([^.]*\)\..*/\1/')
tar -czf /z/stuffing/archives/backup_dbs_${temphost}_$(date_stringer).tar.gz /home/archives/mysql_dbs/*
diff --git
a/scripts/files/find_bad_protection.sh
b/scripts/files/find_bad_protection.sh
index df9eb11de4cd42c6124461c75c3bfb00aae36fcc..b9add8fc1ba49bd2b591cd7c18a6156e748cddae 100644
(file)
--- a/
scripts/files/find_bad_protection.sh
+++ b/
scripts/files/find_bad_protection.sh
@@
-1,5
+1,7
@@
#!/bin/bash
#!/bin/bash
+source "$FEISTY_MEOW_SCRIPTS/core/functions.sh"
+
bad_file="$HOME/bad_protections.txt"
if [ $# = 0 ]; then dirname=$HOME; export dirname;
else dirname=$1; export dirname; fi
bad_file="$HOME/bad_protections.txt"
if [ $# = 0 ]; then dirname=$HOME; export dirname;
else dirname=$1; export dirname; fi
diff --git
a/scripts/opensim/backup_opensim.sh
b/scripts/opensim/backup_opensim.sh
index e431ade0401496a27e6a9d4ecfe75897b25fe2cf..364e195519ac139fcfd8a09e589b9bc57ec05850 100644
(file)
--- a/
scripts/opensim/backup_opensim.sh
+++ b/
scripts/opensim/backup_opensim.sh
@@
-1,6
+1,8
@@
#!/bin/bash
# a simple script that backs up the opensim database assets.
#!/bin/bash
# a simple script that backs up the opensim database assets.
+source "$FEISTY_MEOW_SCRIPTS/core/functions.sh"
+
host=$(echo $(hostname) | sed -e 's/\([^.]*\)\..*/\1/')
bkupname=opensim_bkup_${host}_$(date_stringer).mysql_bkup
host=$(echo $(hostname) | sed -e 's/\([^.]*\)\..*/\1/')
bkupname=opensim_bkup_${host}_$(date_stringer).mysql_bkup
diff --git
a/scripts/opensim/backup_osgrid.sh
b/scripts/opensim/backup_osgrid.sh
index 4e14399a91d43f9eec87690fc995bc0ba48c42ba..c77b3be5f14f7bddfd8c06d6b4187775923c7d7d 100644
(file)
--- a/
scripts/opensim/backup_osgrid.sh
+++ b/
scripts/opensim/backup_osgrid.sh
@@
-1,6
+1,8
@@
#!/bin/bash
# a simple script that backs up the opensim database assets.
#!/bin/bash
# a simple script that backs up the opensim database assets.
+source "$FEISTY_MEOW_SCRIPTS/core/functions.sh"
+
host=$(echo $(hostname) | sed -e 's/\([^.]*\)\..*/\1/')
bkupname=osgrid_bkup_${host}_$(date_stringer).mysql_bkup
host=$(echo $(hostname) | sed -e 's/\([^.]*\)\..*/\1/')
bkupname=osgrid_bkup_${host}_$(date_stringer).mysql_bkup
diff --git
a/scripts/system/osx_cd_mounter.sh
b/scripts/system/osx_cd_mounter.sh
index 531399bd5a438454383d8b7764e7101edb88a82d..a1d522c02aee082fa869ccf2097370d59306834e 100644
(file)
--- a/
scripts/system/osx_cd_mounter.sh
+++ b/
scripts/system/osx_cd_mounter.sh
@@
-3,6
+3,8
@@
# keeps trying to mount the cd on a mac mini to overcome
# a new bug in itunes seen as of osx leopard upgrade.
# keeps trying to mount the cd on a mac mini to overcome
# a new bug in itunes seen as of osx leopard upgrade.
+source "$FEISTY_MEOW_SCRIPTS/core/functions.sh"
+
mountpoint=/Volumes/mounty_cd
echo "$(date_stringer): starting cd mounter..."
mountpoint=/Volumes/mounty_cd
echo "$(date_stringer): starting cd mounter..."
diff --git
a/scripts/tty/keep_awake_process.sh
b/scripts/tty/keep_awake_process.sh
index 4c31a2ab58c119711658330d656626b2d7f76ed2..29a68de4ba48a56759c0d0d34065477c0c1afd91 100644
(file)
--- a/
scripts/tty/keep_awake_process.sh
+++ b/
scripts/tty/keep_awake_process.sh
@@
-2,6
+2,8
@@
# This program is meant to be started by the program keep_awake and has
# the basic guts that are meant to execute inside of a semi-perpetual loop.
# This program is meant to be started by the program keep_awake and has
# the basic guts that are meant to execute inside of a semi-perpetual loop.
+source "$FEISTY_MEOW_SCRIPTS/core/functions.sh"
+
# save the process id for the goodbye program to deal with.
#echo $$ >>$TMP/trash.last_keep_awake_process
#don't let the shutdown guy know who we are; we want to keep running now.
# save the process id for the goodbye program to deal with.
#echo $$ >>$TMP/trash.last_keep_awake_process
#don't let the shutdown guy know who we are; we want to keep running now.
diff --git
a/scripts/tty/lockup.sh
b/scripts/tty/lockup.sh
index 4ad330b3207e8560633bc121ee8cac508028d304..ec60e92f8f79d14c354f4dca5bda39e91586b870 100644
(file)
--- a/
scripts/tty/lockup.sh
+++ b/
scripts/tty/lockup.sh
@@
-2,6
+2,8
@@
# Thanks to Kevin Wika for this shell.
# Thanks to Kevin Wika for this shell.
+source "$FEISTY_MEOW_SCRIPTS/core/functions.sh"
+
trap '' HUP
trap '' INT
trap '' QUIT
trap '' HUP
trap '' INT
trap '' QUIT
diff --git
a/scripts/users/byejob.sh
b/scripts/users/byejob.sh
index 196a35416504ff5236d32334e33c55a175686846..e97e079bd414f7e99c9a155d8afbc3fcccd3912b 100644
(file)
--- a/
scripts/users/byejob.sh
+++ b/
scripts/users/byejob.sh
@@
-2,6
+2,8
@@
# this program is run in the background to show a bye message on the console.
# this program is run in the background to show a bye message on the console.
+source "$FEISTY_MEOW_SCRIPTS/core/functions.sh"
+
export LIGHTWEIGHT_INIT=true # make sure we just get our variables.
source $HOME/yeti/scripts/launch_feisty_meow.sh
export host=$(hostname)
export LIGHTWEIGHT_INIT=true # make sure we just get our variables.
source $HOME/yeti/scripts/launch_feisty_meow.sh
export host=$(hostname)