mirror of https://github.com/OpenIPC/firmware.git
				
				
				
			Update general/overlay/usr/sbin/wireguard
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>pull/1882/head
							parent
							
								
									aa48cf5b42
								
							
						
					
					
						commit
						1d46175e39
					
				|  | @ -1,7 +1,7 @@ | |||
| #!/bin/sh | ||||
| 
 | ||||
| modprobe wireguard | ||||
| ip link add dev wg0 type wireguard | ||||
| modprobe wireguard || { echo "Error: Failed to load wireguard module." >&2; exit 1; } | ||||
| ip link add dev wg0 type wireguard || { echo "Error: Failed to create wg0 interface." >&2; exit 1; } | ||||
| 
 | ||||
| ( echo "#" | ||||
|   echo "[Interface]" | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue