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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue