random- collection of un-sorted bollocks |
git clone git://git.acid.vegas/random.git |
Log | Files | Refs | Archive |
commit 6b37a82e942f3ef0b1fdf9dea7775258077f9469
parent b07c03695f08a06ab2c6b112fb34b94fb293120c Author: acidvegas <acid.vegas@acid.vegas> Date: Tue, 27 Jun 2023 19:15:37 -0400 Test commit for post-recieve hook debugging Diffstat:
|
1 file changed, 1 insertion(+), 0 deletions(-) |
diff --git a/ovh6 b/ovh6 @@ -2,6 +2,7 @@ _ADDRESS="2001:0000:000:0000:0:0:0:0000" _GATEWAY="2001:0000:0000:0000:0000:0000:0000:0000" _PERSIST=1 + if [ $_PERSIST -eq 1 ]; then echo -r "[Match]\nName=eth0\n\n[Network]\nDHCP=ipv4\n\nAddress=$_ADDRESS\nGateway=$_GATEWAY\n\n[DHCP]\nUseMTU=true" > /etc/systemd/network/eth0-dhcp.network else |