Problème d'inattention dans ma modification de wolf
This commit is contained in:
parent
d20ae1291a
commit
a0ec866e3a
1 changed files with 3 additions and 3 deletions
6
bin/wolf
6
bin/wolf
|
@ -1,5 +1,8 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Arguments
|
||||||
|
hostname="$1"; shift
|
||||||
|
|
||||||
# Variables
|
# Variables
|
||||||
declare mac
|
declare mac
|
||||||
declare -a wol_com options
|
declare -a wol_com options
|
||||||
|
@ -7,9 +10,6 @@ name="$(basename "$0")"
|
||||||
wolf_d="${HOME}/.wolf"
|
wolf_d="${HOME}/.wolf"
|
||||||
wolf_host="${wolf_d}/${hostname}"
|
wolf_host="${wolf_d}/${hostname}"
|
||||||
|
|
||||||
# Arguments
|
|
||||||
hostname="$1"; shift
|
|
||||||
|
|
||||||
# Functions
|
# Functions
|
||||||
# Throw an error
|
# Throw an error
|
||||||
function error {
|
function error {
|
||||||
|
|
Loading…
Reference in a new issue