commit pending changes
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
This commit is contained in:
parent
c23bfc5a82
commit
77eb9f5270
7 changed files with 19 additions and 6 deletions
|
@ -1,6 +1,11 @@
|
|||
#!/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
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/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
nz.sh
3
nz.sh
|
@ -3,4 +3,5 @@ ddir="${HOME}/privat/persoenlich/notizen"
|
|||
file=$(date +%Y-%m-%d)
|
||||
dfile="${ddir}/${file}"
|
||||
|
||||
vi "${dfile}"
|
||||
set -x
|
||||
$EDITOR "${dfile}"
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
#!/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
|
||||
|
|
Loading…
Reference in a new issue