mass update commit

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-07-21 10:59:03 +02:00
parent 1bbedafdea
commit 78e21b5200
12 changed files with 29 additions and 13 deletions

View file

@ -83,7 +83,7 @@ Name: Nico Schottelius
NumScreens: 1 NumScreens: 1
OU: Sans-lab OU: Sans-lab
Office: cab/e/79 Office: cab/e/79
Other Info: Wie alle anderen sans-lab Maschinen Other Info: Wie alle anderen sans-lab Maschinen, Siehe #112231, #112228, #111140
Phone: 27609 Phone: 27609
Resolution: 1920x1200 Resolution: 1920x1200
Root: ISG Root: ISG

View file

@ -34,9 +34,9 @@ if [ -z "$NETHZ_USERNAME" ]; then
exit 1 exit 1
fi fi
if [ $# -ne 3 ]; then if [ $# -lt 3 ]; then
cat << eof cat << eof
$__myname: <machine> <ou> <room> $__myname: <machine> <ou> <room> [comments]
Requires NETHZ_USERNAME to be set. Requires NETHZ_USERNAME to be set.
@ -49,6 +49,7 @@ fi
machine="$1"; shift machine="$1"; shift
ou="$1"; shift ou="$1"; shift
room="$1"; shift room="$1"; shift
comment="$@"
headerto="support@inf.ethz.ch" headerto="support@inf.ethz.ch"
to="support@inf.ethz.ch $from" to="support@inf.ethz.ch $from"
@ -75,7 +76,7 @@ Name: Nico Schottelius
NumScreens: 1 NumScreens: 1
OU: $ou OU: $ou
Office: cab/e/79 Office: cab/e/79
Other Info: Other Info: $comment
Phone: 27609 Phone: 27609
Resolution: 1920x1200 Resolution: 1920x1200
Root: ISG Root: ISG

View file

@ -8,4 +8,5 @@ set -e
cd /usr/share/figlet cd /usr/share/figlet
cd /usr/share/figlet/fonts/ cd /usr/share/figlet/fonts/
#for a in *.flf; do BLA=${a%.flf}; echo $BLA; echo hallo | figlet -f $BLA; done #for a in *.flf; do BLA=${a%.flf}; echo $BLA; echo hallo | figlet -f $BLA; done
for a in *.flf; do BLA=${a%.flf}; echo $BLA; echo CM Bofs | figlet -f $BLA; done #for a in *.flf; do BLA=${a%.flf}; echo $BLA; echo CM Bofs | figlet -f $BLA; done
for a in *.flf; do BLA=${a%.flf}; echo $BLA ; echo $BLA | figlet -f $BLA; done

View file

@ -9,7 +9,7 @@ fi
while true; do while true; do
fetchmail >/dev/null fetchmail >/dev/null
# offlineimap offlineimap
echo "Mails abgeholt, schlafe nun $SLEEP Sekunde(n)" echo "Mails abgeholt, schlafe nun $SLEEP Sekunde(n)"
sleep $SLEEP; sleep $SLEEP;
done done

BIN
kill

Binary file not shown.

8
lh
View file

@ -1,5 +1,9 @@
#!/bin/sh #!/bin/sh
file=$(date +%Y-%m-%d)
suffix="$1"
datef="$2"
file=$(date +%Y-%m-%d $datef)
set -x set -x
$EDITOR "$1${file}" $EDITOR "${file}${suffix}"

View file

@ -22,7 +22,7 @@ set -e
#version="$(git describe) #version="$(git describe)
version=$(cat include/config/kernel.release) version=$(cat include/config/kernel.release)
ddir="/boot" ddir="/boot"
spath="arch/x86_64/boot/bzImage" spath="arch/x86/boot/bzImage"
fname="vmlinuz-$version" fname="vmlinuz-$version"
fpath="${ddir}/${fname}" fpath="${ddir}/${fname}"
gpath="$ddir/grub/menu.lst" gpath="$ddir/grub/menu.lst"

3
mytime
View file

@ -7,3 +7,6 @@ LENGTH=$((END-START))
LENGTHM=$((LENGTH/60)) LENGTHM=$((LENGTH/60))
echo "Run: ${LENGTH}s ($LENGTHM minutes)" echo "Run: ${LENGTH}s ($LENGTHM minutes)"
# Record values
echo "$@; ${LENGTH}" >> ~/.mytime

View file

@ -10,6 +10,6 @@ url="http://home.schottelius.org/~nico/temp"
bfile="$(basename "$file")" bfile="$(basename "$file")"
scp "$file" "${host}:$dir" scp "$file" "${host}:$dir"
ssh $host "chmod a+r $dir/$bfile" ssh $host "chmod a+r \"$dir/$bfile\""
echo "Pre-released ${url}/${bfile}" echo "Pre-released ${url}/${bfile}"

View file

@ -5,7 +5,7 @@ tmutt
tmutt tmutt
# start tee window # start tee window
x-terminal-emulator -name tee -e ressh.sh tee.schottelius.org # x-terminal-emulator -name tee -e ressh.sh tee.schottelius.org
# start root window # start root window
x-terminal-emulator -name sudo -e sudo -i x-terminal-emulator -name sudo -e sudo -i

View file

@ -1,2 +1,2 @@
#!/bin/sh #!/bin/sh
xrandr --output HDMI1 --auto --rotate normal --right-of LVDS1 xrandr --output HDMI1 --auto --rotate normal --left-of LVDS1

View file

@ -10,6 +10,13 @@ case $(hostname) in
ikn) ikn)
other="root@kr.ethz.ch" other="root@kr.ethz.ch"
;; ;;
*)
echo "I am confused, where I am?"
exit 1
;;
esac esac
sudo rsync -av --delete-before --delete $dir $other:$dir sudo rsync -av \
--exclude /home/services/eth-usbhd \
--exclude /home/services/usbhd \
--delete-before --delete $dir $other:$dir