Update file run_before_01-add-temporary-includes.tmpl
This commit is contained in:
parent
77b04805c6
commit
9264de76f4
1 changed files with 6 additions and 6 deletions
|
@ -4,9 +4,9 @@
|
||||||
### Ensure /tmp/tmp-profile is created and owned by root
|
### Ensure /tmp/tmp-profile is created and owned by root
|
||||||
if [ ! -f /tmp/tmp-profile ]; then
|
if [ ! -f /tmp/tmp-profile ]; then
|
||||||
# Add pre-scaffolding profile to /tmp/tmp-profile so it's easier to navigate through scripts
|
# Add pre-scaffolding profile to /tmp/tmp-profile so it's easier to navigate through scripts
|
||||||
cat << 'EOF' > /tmp/tmp-profile
|
cat <<'EOF' > /tmp/tmp-profile
|
||||||
{{ includeTemplate "universal/profile-inline" }}
|
{{ includeTemplate "universal/profile-inline" }}
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
# Make /tmp/tmp-profile owned by root to prevent tampering
|
# Make /tmp/tmp-profile owned by root to prevent tampering
|
||||||
sudo chown root /tmp/tmp-profile
|
sudo chown root /tmp/tmp-profile
|
||||||
|
@ -15,9 +15,9 @@ fi
|
||||||
### Ensure /tmp/tmp-logg is created and owned by root
|
### Ensure /tmp/tmp-logg is created and owned by root
|
||||||
if [ ! -f /tmp/tmp-logg ]; then
|
if [ ! -f /tmp/tmp-logg ]; then
|
||||||
# Add pre-scaffolding /tmp/tmp-logg
|
# Add pre-scaffolding /tmp/tmp-logg
|
||||||
cat << 'EOF' > /tmp/tmp-logg
|
cat <<'EOF' > /tmp/tmp-logg
|
||||||
{{ includeTemplate "universal/logg-inline" }}
|
{{ includeTemplate "universal/logg-inline" }}
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
# Make /tmp/tmp-logg owned by root to prevent tampering
|
# Make /tmp/tmp-logg owned by root to prevent tampering
|
||||||
sudo chown root /tmp/tmp-logg
|
sudo chown root /tmp/tmp-logg
|
||||||
|
|
Loading…
Reference in a new issue