commit pending changes

Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
This commit is contained in:
Nico Schottelius 2009-12-28 20:13:41 +01:00
parent c23bfc5a82
commit 77eb9f5270
7 changed files with 19 additions and 6 deletions

View file

@ -1,6 +1,11 @@
#!/bin/sh -e #!/bin/sh -e
if [ -z "$USBHD" -o $# -ne 1 ]; then
echo USBHD + interval
exit 1
fi
ccollect=/home/users/nico/lp/ccollect/ccollect/ccollect.sh ccollect=/home/users/nico/lp/ccollect/ccollect/ccollect.sh
# in pre_exec # in pre_exec
@ -8,7 +13,7 @@ ccollect=/home/users/nico/lp/ccollect/ccollect/ccollect.sh
#mount /home/services/usbhd #mount /home/services/usbhd
#cd /home/user/nico/p/ccollect/ccollect #cd /home/user/nico/p/ccollect/ccollect
CCOLLECT_CONF=/home/users/nico/ethz/ccollect $ccollect wöchentlich ikn CCOLLECT_CONF=/home/users/nico/ethz/ccollect $ccollect "$1" ikn
# in post_exec # in post_exec
#umount /home/services/usbhd #umount /home/services/usbhd

View file

@ -22,7 +22,7 @@ ip l s eth0 down
wpa_supplicant -B -Dwext -iwlan0 -c ~nico/ethz/wlan/wpa_supplicant.conf wpa_supplicant -B -Dwext -iwlan0 -c ~nico/ethz/wlan/wpa_supplicant.conf
sleep 5 sleep 5
udhcpc -nqfi wlan0 udhcpc -nqfi wlan0
vpnc ~nico/ethz/vpn/pc.conf vpnc ~nico/ethz/vpn/sg.conf
#vpnc ~nico/firmen/ethz/vpn/vpnc.conf #vpnc ~nico/firmen/ethz/vpn/vpnc.conf
# vpnc-disconnect # vpnc-disconnect

View file

@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
ddir="${HOME}/privat/firmen/ethz/logs" ddir="${HOME}/privat/firmen/ethz/vcs/logs/$(date +%Y)"
file=$(date +%Y-%m-%d) file=$(date +%Y-%m-%d)
dfile="${ddir}/${file}" dfile="${ddir}/${file}"
vi "${dfile}" $EDITOR "${dfile}"

3
nz.sh
View file

@ -3,4 +3,5 @@ ddir="${HOME}/privat/persoenlich/notizen"
file=$(date +%Y-%m-%d) file=$(date +%Y-%m-%d)
dfile="${ddir}/${file}" dfile="${ddir}/${file}"
vi "${dfile}" set -x
$EDITOR "${dfile}"

View file

@ -1,5 +1,7 @@
#!/bin/sh #!/bin/sh
external="HDMI-2 VGA" # Nico Schottelius
external="$(cat ~/.x-monitors)"
for R in $external; do for R in $external; do
xrandr --output $R --off xrandr --output $R --off

View file

@ -22,3 +22,6 @@ MY_ECHO="echo"
#$MY_ECHO $BOLD$RED #$MY_ECHO $BOLD$RED
cat ~/.loginart cat ~/.loginart
#$MY_ECHO $END #$MY_ECHO $END
echo ""
cat ~/.ziele

View file

@ -34,6 +34,8 @@ prefix=".x-monitors-"
i=0 i=0
xrandr --output "${main}" --auto
# Needs to run twice: xrandr may not be able to # Needs to run twice: xrandr may not be able to
# enable a newly connected monitor, because a disconnected one # enable a newly connected monitor, because a disconnected one
# is still enabled. The first runs disables disconnected monitors, the # is still enabled. The first runs disables disconnected monitors, the