2018-03-13 15:42:31 +00:00
|
|
|
--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
-- lsyncd.lua Live (Mirror) Syncing Demon
|
|
|
|
--
|
2018-03-14 16:50:51 +00:00
|
|
|
--
|
2018-03-19 08:22:11 +00:00
|
|
|
-- Sets the lsyncd_version of the mantle,
|
|
|
|
-- this must come as last mantle file as other
|
|
|
|
-- mantle scripts check that global against accidental loading.
|
2018-03-13 15:42:31 +00:00
|
|
|
--
|
2018-03-14 16:50:51 +00:00
|
|
|
--
|
2018-03-13 15:42:31 +00:00
|
|
|
-- License: GPLv2 (see COPYING) or any later version
|
|
|
|
-- Authors: Axel Kittenberger <axkibe@gmail.com>
|
|
|
|
--
|
|
|
|
--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
|
2018-03-14 16:50:51 +00:00
|
|
|
|
2018-03-15 12:43:02 +00:00
|
|
|
if lsyncd_version
|
2018-03-13 15:42:31 +00:00
|
|
|
then
|
2018-03-14 16:50:51 +00:00
|
|
|
print( 'Error, Lsyncd mantle already loaded' )
|
|
|
|
os.exit( -1 )
|
2018-03-13 15:42:31 +00:00
|
|
|
end
|
|
|
|
|
2018-03-14 16:50:51 +00:00
|
|
|
|
2018-03-14 08:57:49 +00:00
|
|
|
-- Lets the core double check version identity with the mantle
|
2018-03-15 12:43:02 +00:00
|
|
|
lsyncd_version = '3.0.0-devel'
|
2018-03-15 16:11:45 +00:00
|
|
|
|