X-Git-Url: https://git.plutz.net/?a=blobdiff_plain;f=session_lock.sh;h=375aaf4b87ed9f77b7ec88af27dae230a54c9be8;hb=HEAD;hp=f55c9cd02fb54b83f180f3dcb6fd5907cba8c7ac;hpb=801a5a731ec85902cd7eba7c4d42e5681e1df40f;p=shellwiki diff --git a/session_lock.sh b/session_lock.sh index f55c9cd..375aaf4 100755 --- a/session_lock.sh +++ b/session_lock.sh @@ -1,5 +1,22 @@ #!/bin/sh +[ "$include_sessionlock" ] && return 0 +include_sessionlock="$0" + +# Copyright 2022 Paul Hänsch +# +# Permission to use, copy, modify, and/or distribute this software for any +# purpose with or without fee is hereby granted, provided that the above +# copyright notice and this permission notice appear in all copies. +# +# THE SOFTWARE IS PROVIDED “AS IS” AND THE AUTHOR DISCLAIMS ALL WARRANTIES +# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY +# SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR +# IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + . "$_EXEC/cgilite/storage.sh" . "$_EXEC/cgilite/session.sh"