wok view backuppc/stuff/etc/BackupPC/woh.sh @ rev 23615

updated reiser4progs and reiser4progs-dev (1.2.1 -> 2.0.0)
author Hans-G?nter Theisgen
date Tue Apr 14 07:45:25 2020 +0100 (2020-04-14)
parents
children
line source
1 #!/bin/sh
3 # In /etc/BackupPC/config.pl:
4 # $Conf{DumpPreUserCmd} = '/etc/backuppc/wol.sh $host $userName';
6 USER=$2
7 #USER=$2%thepassword
9 /usr/bin/ether-wake $1
10 sleep 60
11 for i in $(seq 1 15); do
12 smbclient -L $1 -U $USER >/dev/null && break
13 sleep 10
14 done