projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add easier bin/enable-encryption
[freeside.git]
/
bin
/
enable-encryption
diff --git a/bin/enable-encryption
b/bin/enable-encryption
new file mode 100755
(executable)
index 0000000..
db264ea
--- /dev/null
+++ b/
bin/enable-encryption
@@ -0,0
+1,10
@@
+#!/usr/bin/perl
+
+use FS::UID qw(adminsuidsetup);
+use FS::Setup qw(enable_encryption);
+
+my $user = shift or die "Usage: enable-encryption user\n";
+
+adminsuidsetup $user;
+
+enable_encryption;