SHA256
1
0
forked from pool/squid
squid/cache_dir.sed
Martin Pluskal a86b838f19 Accepting request 482004 from server:proxy:Test
- initialize_cache_if_needed.sh, squid_dir.sed: Initialize cache
  directory on startup if it is missing. Move scripts out of
  systemd service file and into individual files. (bnc#1030421)

OBS-URL: https://build.opensuse.org/request/show/482004
OBS-URL: https://build.opensuse.org/package/show/server:proxy/squid?expand=0&rev=117
2017-03-22 15:16:54 +00:00

8 lines
107 B
Sed

#!/usr/bin/sed -nf
/^\s*cache_dir\s\+[[:alnum:]]\+\s\+\([[:graph:]\/]\+\)\s.*/ {
s//\1\/00/p
q
}