From c8bad6ff58f7075fa2512e569acb60d7d3fa0a55 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 2 Nov 2015 08:13:11 +0000 Subject: [PATCH] Beginning of SIP user commands --- man/freedombone-addsipuser.1.gz | Bin 0 -> 455 bytes man/freedombone-rmsipuser.1.gz | Bin 0 -> 430 bytes src/freedombone-addsipuser | 32 ++++++++++++++++++++++++++++++++ src/freedombone-adduser | 30 ++++++++++++++++++++++++++++++ src/freedombone-rmsipuser | 32 ++++++++++++++++++++++++++++++++ 5 files changed, 94 insertions(+) create mode 100644 man/freedombone-addsipuser.1.gz create mode 100644 man/freedombone-rmsipuser.1.gz create mode 100755 src/freedombone-addsipuser create mode 100755 src/freedombone-rmsipuser diff --git a/man/freedombone-addsipuser.1.gz b/man/freedombone-addsipuser.1.gz new file mode 100644 index 0000000000000000000000000000000000000000..a14e8558ec5cd746871a8aeaad5c74ba19427569 GIT binary patch literal 455 zcmV;&0XY62iwFQ^8aGw|1C3JKirX*{efL)kerXG}y-6u-Ln*blZW5Y{iJdNOx(|{) ziN!`2blJ<_*A8B`!44GkAf1^xbIxeOVg`GSSV>N$z<^YhVagfQFarN-3@iBnGk_bnRzUPJc4E$BROnvVHxjRl`ORjY74!AV z_x?jq*wrQ5X(MKXN@@$#9hy4pg$dNwDl>_q1GBZGVJUe;iK%rN{UbbL#yB)D-qIA} zMZP}s_IC8{{n=lXM~1?dsBJIQi~%`e$DzQHnZbf5uGEDdeOQV;JM>_75K{MrDvf<+ zja=G(u10~6!JsM4hdpUNXi4)yM+VCt=EMc%Ekn>Q$k4#rRT${n!QEHJ+hVrf_+BC@ zETy%YaQI9m{i-FEmX#)S_o0BS-taK-d_|{NyOCy004FB-P-^F literal 0 HcmV?d00001 diff --git a/man/freedombone-rmsipuser.1.gz b/man/freedombone-rmsipuser.1.gz new file mode 100644 index 0000000000000000000000000000000000000000..98508e9a274b14f330133108ddf80234b055ce31 GIT binary patch literal 430 zcmV;f0a5-RiwFQw8aGw|1C3H!i$%LuBX)j8J=WHi_Ufq%0_ z-KoW2H`^#)#@7_Tw{Iyl{_F@J!}xx;jFRPc<2wIq=5^#?KaX2hWypf8^M+|1FMz_@ zil@GxD_hjkOO5uW;DS>BpH#kLu95!)4?~!(;_XH7m*ZEjFLs?C6_z$dvb~bXGSosH zhYClZ&^tk?E?2}^t$4Gu+mcqY<=Bat4Qh%xP9 zb$KOut1zkr^U%WDV;FGl;O_Q_(qbDh9QSQ~3eXm}@${6Iz;t5WvrN6(t~jwi{9 z=8->-=2Hk~cej)9&FvWtl-0;Aa-2f29!=7Ry3oPtOLm||u`=J1jH~;{&!`eZd*pa^ YW<8*so^P)?y-P3W8LXogr?mqB0J*@{mH+?% literal 0 HcmV?d00001 diff --git a/src/freedombone-addsipuser b/src/freedombone-addsipuser new file mode 100755 index 00000000..10d56549 --- /dev/null +++ b/src/freedombone-addsipuser @@ -0,0 +1,32 @@ +#!/bin/bash +# +# .---. . . +# | | | +# |--- .--. .-. .-. .-.| .-. .--.--. |.-. .-. .--. .-. +# | | (.-' (.-' ( | ( )| | | | )( )| | (.-' +# ' ' --' --' -' - -' ' ' -' -' -' ' - --' +# +# Freedom in the Cloud +# + +# Adds a SIP phone user to the system + +# License +# ======= +# +# Copyright (C) 2015 Bob Mottram +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +exit 0 diff --git a/src/freedombone-adduser b/src/freedombone-adduser index ec463422..aebfa987 100755 --- a/src/freedombone-adduser +++ b/src/freedombone-adduser @@ -1,4 +1,34 @@ #!/bin/bash +# +# .---. . . +# | | | +# |--- .--. .-. .-. .-.| .-. .--.--. |.-. .-. .--. .-. +# | | (.-' (.-' ( | ( )| | | | )( )| | (.-' +# ' ' --' --' -' - -' ' ' -' -' -' ' - --' +# +# Freedom in the Cloud +# + +# Adds an user to the system + +# License +# ======= +# +# Copyright (C) 2015 Bob Mottram +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + MY_USERNAME=$1 SSH_PUBLIC_KEY="$2" GPG_KEYSERVER='hkp://keys.gnupg.net' diff --git a/src/freedombone-rmsipuser b/src/freedombone-rmsipuser new file mode 100755 index 00000000..e40f2f83 --- /dev/null +++ b/src/freedombone-rmsipuser @@ -0,0 +1,32 @@ +#!/bin/bash +# +# .---. . . +# | | | +# |--- .--. .-. .-. .-.| .-. .--.--. |.-. .-. .--. .-. +# | | (.-' (.-' ( | ( )| | | | )( )| | (.-' +# ' ' --' --' -' - -' ' ' -' -' -' ' - --' +# +# Freedom in the Cloud +# + +# Removes a SIP phone user from the system + +# License +# ======= +# +# Copyright (C) 2015 Bob Mottram +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +exit 0