summaryrefslogtreecommitdiff
path: root/configs/mate/root-image/root/.automated_script.sh
diff options
context:
space:
mode:
authorbill-auger <mr.j.spam.me@gmail.com>2017-10-16 18:52:38 -0400
committerbill-auger <mr.j.spam.me@gmail.com>2017-11-16 11:13:13 -0500
commitcfb9207ead40dc9b12e37578fab2641f213b3640 (patch)
treea68275b10d8dba78a79803984661ba1ade985067 /configs/mate/root-image/root/.automated_script.sh
parentf1a8d3007a018cde15b6c49f761a9eac2543a23c (diff)
delete edition-specific configs
* the original intention was for each edition on separate branches * this commit builds only the main CLI ISO as originally intended * preparing for editions to be specified as CLI args to master script
Diffstat (limited to 'configs/mate/root-image/root/.automated_script.sh')
-rwxr-xr-xconfigs/mate/root-image/root/.automated_script.sh34
1 files changed, 0 insertions, 34 deletions
diff --git a/configs/mate/root-image/root/.automated_script.sh b/configs/mate/root-image/root/.automated_script.sh
deleted file mode 100755
index fb106da..0000000
--- a/configs/mate/root-image/root/.automated_script.sh
+++ /dev/null
@@ -1,34 +0,0 @@
-#!/bin/bash
-
-script_cmdline ()
-{
- local param
- for param in $(< /proc/cmdline); do
- case "${param}" in
- script=*) echo "${param##*=}" ; return 0 ;;
- esac
- done
-}
-
-automated_script ()
-{
- local script rt
- script="$(script_cmdline)"
- if [[ -n "${script}" && ! -x /tmp/startup_script ]]; then
- if [[ "${script}" =~ ^http:// || "${script}" =~ ^ftp:// ]]; then
- wget "${script}" --retry-connrefused -q -O /tmp/startup_script >/dev/null
- rt=$?
- else
- cp "${script}" /tmp/startup_script
- rt=$?
- fi
- if [[ ${rt} -eq 0 ]]; then
- chmod +x /tmp/startup_script
- /tmp/startup_script
- fi
- fi
-}
-
-if [[ $(tty) == "/dev/tty1" ]]; then
- automated_script
-fi