From c79dec3ba517967c09ef398b20d577271774df19 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Tue, 28 Feb 2017 22:28:55 +0100 Subject: Add bash shebangs to all our includes: github misidentifies lots of includes in its code stats and syntax highlighting. Try to make it a nicer place by giving it a hint via that shebang. It's actually useless in files that are being sourced, but it doesn't hurt either. --- .../run-virt/data/opt/openslx/vmchooser/run-virt.d/setup_firewall.inc | 1 + .../data/opt/openslx/vmchooser/run-virt.d/setup_network_shares.inc | 1 + .../run-virt/data/opt/openslx/vmchooser/run-virt.d/usb_detector.inc | 1 + 3 files changed, 3 insertions(+) (limited to 'core/modules/run-virt/data/opt/openslx/vmchooser/run-virt.d') diff --git a/core/modules/run-virt/data/opt/openslx/vmchooser/run-virt.d/setup_firewall.inc b/core/modules/run-virt/data/opt/openslx/vmchooser/run-virt.d/setup_firewall.inc index ac2c2e95..92ff2186 100644 --- a/core/modules/run-virt/data/opt/openslx/vmchooser/run-virt.d/setup_firewall.inc +++ b/core/modules/run-virt/data/opt/openslx/vmchooser/run-virt.d/setup_firewall.inc @@ -1,3 +1,4 @@ +#!/bin/bash ############################################ # Feature: Setup firewall rules for the VM # ############################################ diff --git a/core/modules/run-virt/data/opt/openslx/vmchooser/run-virt.d/setup_network_shares.inc b/core/modules/run-virt/data/opt/openslx/vmchooser/run-virt.d/setup_network_shares.inc index d92ca6ab..8809b218 100644 --- a/core/modules/run-virt/data/opt/openslx/vmchooser/run-virt.d/setup_network_shares.inc +++ b/core/modules/run-virt/data/opt/openslx/vmchooser/run-virt.d/setup_network_shares.inc @@ -1,3 +1,4 @@ +#!/bin/bash # TODO this currently is not used. # This should be continued when we have a clear idea # how we will embed network shares in VMs diff --git a/core/modules/run-virt/data/opt/openslx/vmchooser/run-virt.d/usb_detector.inc b/core/modules/run-virt/data/opt/openslx/vmchooser/run-virt.d/usb_detector.inc index 72fd6ad6..0fa60aa7 100644 --- a/core/modules/run-virt/data/opt/openslx/vmchooser/run-virt.d/usb_detector.inc +++ b/core/modules/run-virt/data/opt/openslx/vmchooser/run-virt.d/usb_detector.inc @@ -1,3 +1,4 @@ +#!/bin/bash ################################################## # Include: Detect and pass USB devices to the VM # ################################################## -- cgit v1.2.3-55-g7522