Commit 77eb9f52 authored by Nico Schottelius's avatar Nico Schottelius

commit pending changes

Signed-off-by: default avatarNico Schottelius <nico@ikn.schottelius.org>
parent c23bfc5a
#!/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
# in pre_exec
......@@ -8,7 +13,7 @@ ccollect=/home/users/nico/lp/ccollect/ccollect/ccollect.sh
#mount /home/services/usbhd
#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
#umount /home/services/usbhd
......
......@@ -22,7 +22,7 @@ ip l s eth0 down
wpa_supplicant -B -Dwext -iwlan0 -c ~nico/ethz/wlan/wpa_supplicant.conf
sleep 5
udhcpc -nqfi wlan0
vpnc ~nico/ethz/vpn/pc.conf
vpnc ~nico/ethz/vpn/sg.conf
#vpnc ~nico/firmen/ethz/vpn/vpnc.conf
# vpnc-disconnect
......
#!/bin/sh
ddir="${HOME}/privat/firmen/ethz/logs"
ddir="${HOME}/privat/firmen/ethz/vcs/logs/$(date +%Y)"
file=$(date +%Y-%m-%d)
dfile="${ddir}/${file}"
vi "${dfile}"
$EDITOR "${dfile}"
......@@ -3,4 +3,5 @@ ddir="${HOME}/privat/persoenlich/notizen"
file=$(date +%Y-%m-%d)
dfile="${ddir}/${file}"
vi "${dfile}"
set -x
$EDITOR "${dfile}"
#!/bin/sh
external="HDMI-2 VGA"
# Nico Schottelius
external="$(cat ~/.x-monitors)"
for R in $external; do
xrandr --output $R --off
......
......@@ -22,3 +22,6 @@ MY_ECHO="echo"
#$MY_ECHO $BOLD$RED
cat ~/.loginart
#$MY_ECHO $END
echo ""
cat ~/.ziele
......@@ -34,6 +34,8 @@ prefix=".x-monitors-"
i=0
xrandr --output "${main}" --auto
# Needs to run twice: xrandr may not be able to
# enable a newly connected monitor, because a disconnected one
# is still enabled. The first runs disables disconnected monitors, the
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment