diff --git a/wol/scripts/actions.sh b/wol/scripts/actions.sh index 59d232648f79f50f666d05816fd0df7802999e1b..630027d1559c1f060b69cd3abe5bb1b356fd7dd2 100755 --- a/wol/scripts/actions.sh +++ b/wol/scripts/actions.sh @@ -30,5 +30,5 @@ echo $@ | netcat $host $port # If action is "get" something, read answer if [[ "$1" =~ "get" ]] then - stdbuf -i0 $netcat + stdbuf -i0 -o0 -e0 $netcat fi diff --git a/wol/scripts/wakeonlanservice.sh b/wol/scripts/wakeonlanservice.sh index 6617f7ff9838b80920e83acd66061cd54900d61d..4c824f3af2fa3af1913f1ef85016dc8dc83d81e5 100755 --- a/wol/scripts/wakeonlanservice.sh +++ b/wol/scripts/wakeonlanservice.sh @@ -27,7 +27,7 @@ answer(){ then netcat $host $port else - stdbuf -oL cat $1 | netcat $host $port + netcat $host $port < $1 fi } diff --git a/wol/www/index.php b/wol/www/index.php index 02b82b338268fbfdff8ad862886666ff87673112..a792bb9c816fc5df48e4bfd66c0385540baff51e 100644 --- a/wol/www/index.php +++ b/wol/www/index.php @@ -65,7 +65,7 @@ if(!isset($action)){ <p> Vous pouvez trier la table ci dessous en cliquant sur la colonne que vous voulez. <br /> - Cliquer une deuxième fois inverser l'ordre de trie + Cliquer une deuxième fois inverser l'ordre de tri. </p> <div class="table-responsive"> <table class="table-striped table-bordered table-hover" style="text-align:center;">