summaryrefslogtreecommitdiff
path: root/configs/talkingparabola/airootfs/root/.automated_script.sh
diff options
context:
space:
mode:
authorDavid P <megver83@parabola.nu>2020-07-15 11:23:14 -0400
committerDavid P <megver83@parabola.nu>2020-07-15 11:23:14 -0400
commit8c48ab20168b51fa3893ad64bccd06411f205bb5 (patch)
tree0ffbef54dd818c3e4aefc11127850e11761b1de2 /configs/talkingparabola/airootfs/root/.automated_script.sh
parentf2d5583a9428f576a09023032a3e3bae95690b9a (diff)
[talkingparabola] sync with talkingarch
talking-arch isn't completely synced with Arch's releng, however I prefer to wait for them to do it, as they may introduce different stuff, or who knows :P Signed-off-by: David P <megver83@parabola.nu>
Diffstat (limited to 'configs/talkingparabola/airootfs/root/.automated_script.sh')
-rwxr-xr-xconfigs/talkingparabola/airootfs/root/.automated_script.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/configs/talkingparabola/airootfs/root/.automated_script.sh b/configs/talkingparabola/airootfs/root/.automated_script.sh
index 81a98a1..aaf5583 100755
--- a/configs/talkingparabola/airootfs/root/.automated_script.sh
+++ b/configs/talkingparabola/airootfs/root/.automated_script.sh
@@ -15,7 +15,7 @@ automated_script ()
local script rt
script="$(script_cmdline)"
if [[ -n "${script}" && ! -x /tmp/startup_script ]]; then
- if [[ "${script}" =~ ^http:// || "${script}" =~ ^ftp:// ]]; then
+ if [[ "${script}" =~ ^((http|https|ftp)://) ]]; then
wget "${script}" --retry-connrefused -q -O /tmp/startup_script >/dev/null
rt=$?
else