forked from pool/squid
a86b838f19
- 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
8 lines
107 B
Sed
8 lines
107 B
Sed
#!/usr/bin/sed -nf
|
|
|
|
/^\s*cache_dir\s\+[[:alnum:]]\+\s\+\([[:graph:]\/]\+\)\s.*/ {
|
|
s//\1\/00/p
|
|
q
|
|
}
|
|
|