diff options
Diffstat (limited to 'SL2LS.pl')
-rwxr-xr-x | SL2LS.pl | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/SL2LS.pl b/SL2LS.pl new file mode 100755 index 00000000..4824d2c6 --- /dev/null +++ b/SL2LS.pl @@ -0,0 +1,15 @@ +#!/usr/bin/perl + +# Simple script. Right now, all that needs to be done is that the SL directory +# needs to be deleted and the sql-ledger.conf needs to be renamed. + +open (SL, "< sql-ledger.conf"); +open (LS, "> ledger-smb.conf"); + +while ($line = <SL>){ + print LS $line; +} + +unlink sql-ledger.conf; + +#TODO: Move/Delete the SL directory |