1
0
mirror of https://gitlab.alpinelinux.org/alpine/cloud/tiny-cloud.git synced 2025-12-14 10:52:44 +03:00

Fix vim modelines and make more readable

Add missing trailing :

Use filetype=sh instead of ft=sh to make it more readable.
This commit is contained in:
Natanael Copa 2023-05-22 15:29:27 +02:00 committed by Jake Buchholz Göktürk
parent b4776260db
commit 85108e958b
32 changed files with 32 additions and 32 deletions

View File

@ -1,5 +1,5 @@
#!/bin/sh
# vim:set ft=sh:
# vim:set filetype=sh:
# Tiny Cloud - Instance MetaData Service client

View File

@ -1,5 +1,5 @@
#!/sbin/openrc-run
# vim:set ft=sh:
# vim:set filetype=sh:
# shellcheck shell=sh
description="Tiny Cloud Bootstrap - boot phase"

View File

@ -1,5 +1,5 @@
#!/sbin/openrc-run
# vim:set ft=sh:
# vim:set filetype=sh:
# shellcheck shell=sh
description="Tiny Cloud Bootstrap - early phase"

View File

@ -1,5 +1,5 @@
#!/sbin/openrc-run
# vim:set ft=sh:
# vim:set filetype=sh:
# shellcheck shell=sh
description="Tiny Cloud Bootstrap - final phase"

View File

@ -1,5 +1,5 @@
#!/sbin/openrc-run
# vim:set ft=sh:
# vim:set filetype=sh:
# shellcheck shell=sh
description="Tiny Cloud Bootstrap - main phase"

View File

@ -1,5 +1,5 @@
#!/bin/sh
# vim:set ft=sh:
# vim:set filetype=sh:
# NOTE: The mdev-conf APK handles this now, but only for xvd or sd links (not
# both)

View File

@ -1,5 +1,5 @@
#!/bin/sh
# vim:set ft=sh:
# vim:set filetype=sh:
set -e

View File

@ -1,5 +1,5 @@
# Tiny Cloud - Init Functions
# vim:set ft=sh:
# vim:set filetype=sh:
# shellcheck shell=sh
INIT_ACTIONS_BOOT="$(replace_word set_default_interfaces set_network_interfaces $INIT_ACTIONS_BOOT)"

View File

@ -1,5 +1,5 @@
# AWS Instance MetaData Service variables and functions
# vim:set ft=sh:
# vim:set filetype=sh:
# shellcheck shell=sh
IMDS_HEADER="X-aws-ec2-metadata-token"

View File

@ -1,5 +1,5 @@
# AWS mdev Hotplug Modules
# vim:set ft=sh:
# vim:set filetype=sh:
# shellcheck shell=sh
# makes symlinks for NVMe devices that correlate to AWS EBS sd/xvd devices

View File

@ -1,5 +1,5 @@
# Azure Instance MetaData Service variables and functions
# vim:set ft=sh:
# vim:set filetype=sh:
# shellcheck shell=sh
IMDS_HEADER="Metadata"

View File

@ -1,5 +1,5 @@
# Google Cloud Instance MetaData Service variables and functions
# vim:set ft=sh:
# vim:set filetype=sh:
# shellcheck shell=sh
IMDS_HEADER="Metadata-Flavor"

View File

@ -1,5 +1,5 @@
# NoCloud Instance Metadata
# vim:set ft=sh:
# vim:set filetype=sh:
# shellcheck shell=sh
NOCLOUD_FILES="meta-data user-data vendor-data network-config"

View File

@ -1,5 +1,5 @@
# OCI Instance MetaData Service variables and functions
# vim:set ft=sh:
# vim:set filetype=sh:
# shellcheck shell=sh
IMDS_HEADER="Authorization"

View File

@ -1,5 +1,5 @@
# Tiny Cloud - common script functions
# vim:set ft=sh:
# vim:set filetype=sh:
# shellcheck shell=sh
# set defaults

View File

@ -1,5 +1,5 @@
# Tiny Cloud - Init Functions
# vim:set ft=sh:
# vim:set filetype=sh:
# shellcheck shell=sh
# set defaults

View File

@ -1,5 +1,5 @@
# Tiny Cloud - mdev hotplug functions
# vim:set ft=sh:
# vim:set filetype=sh:
# shellcheck shell=sh
# generic helper function to install mdev rules

View File

@ -1,5 +1,5 @@
# Script UserData Functions
# vim:set ft=sh:
# vim:set filetype=sh:
# shellcheck shell=sh
INIT_ACTIONS_MAIN="$(insert_before create_default_user userdata_user $INIT_ACTIONS_MAIN)"

View File

@ -1,5 +1,5 @@
# CloudConfig UserData Functions
# vim:set ft=sh:
# vim:set filetype=sh:
# shellcheck shell=sh
# TODO

View File

@ -1,5 +1,5 @@
# Missing UserData Functions
# vim:set ft=sh:
# vim:set filetype=sh:
# shellcheck shell=sh
init__missing_userdata() {

View File

@ -1,5 +1,5 @@
# Script UserData Functions
# vim:set ft=sh:
# vim:set filetype=sh:
# shellcheck shell=sh
init__run_userdata() {

View File

@ -1,5 +1,5 @@
# Unknown UserData Functions
# vim:set ft=sh:
# vim:set filetype=sh:
# shellcheck shell=sh
init__unknown_userdata() {

View File

@ -1,5 +1,5 @@
#!/bin/sh
# vim:set ft=sh:
# vim:set filetype=sh:
set -e

View File

@ -1,5 +1,5 @@
#!/bin/sh
# vim:set ft=sh:
# vim:set filetype=sh:
# Sync interface's network configuration with IMDS

View File

@ -1,5 +1,5 @@
#!/bin/sh
# vim:set ft=sh:
# vim:set filetype=sh:
# Tiny Cloud

View File

@ -1,5 +1,5 @@
#!/usr/bin/env atf-sh
# vim:set ft=sh
# vim:set filetype=sh:
# shellcheck shell=sh
. $(atf_get_srcdir)/test_env.sh

View File

@ -1,5 +1,5 @@
#!/usr/bin/env atf-sh
# vim:set ft=sh
# vim:set filetype=sh:
# shellcheck shell=sh
. $(atf_get_srcdir)/test_env.sh

View File

@ -1,5 +1,5 @@
#!/usr/bin/env atf-sh
# vim:set ft=sh
# vim:set filetype=sh:
# shellcheck shell=sh
. $(atf_get_srcdir)/test_env.sh

View File

@ -1,5 +1,5 @@
#!/usr/bin/env atf-sh
# vim:set ft=sh
# vim:set filetype=sh:
# shellcheck shell=sh
. $(atf_get_srcdir)/test_env.sh

View File

@ -1,5 +1,5 @@
#!/usr/bin/env atf-sh
# vim:set ft=sh
# vim:set filetype=sh:
# shellcheck shell=sh
. $(atf_get_srcdir)/test_env.sh

View File

@ -1,5 +1,5 @@
#!/usr/bin/env atf-sh
# vim:set ft=sh
# vim:set filetype=sh:
# shellcheck shell=sh
. $(atf_get_srcdir)/test_env.sh

View File

@ -1,5 +1,5 @@
#!/bin/sh
# vim:set ft=sh:
# vim:set filetype=sh:
# Tiny Cloud IMDS ifupdown-ng executor