hpc-cluster/wakeonlan/generate_label_file.sh

3 lines
122 B
Bash

#!/bin/bash
cat ../dhcp/ctdo.conf | grep "hardware ethernet" | sed "s/hardware ethernet//g; s/;/ 10.10.1.255/g; s/ //g"