From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: [PATCH 10/54] sambactrl: Remove unused reset command Date: Tue, 13 Oct 2020 16:07:28 +0000 Message-ID: <20201013160812.27754-10-michael.tremer@ipfire.org> In-Reply-To: <20201013160812.27754-1-michael.tremer@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5241077742325680580==" List-Id: --===============5241077742325680580== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Signed-off-by: Michael Tremer --- src/misc-progs/sambactrl.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/misc-progs/sambactrl.c b/src/misc-progs/sambactrl.c index 45c166d46..138a0b84f 100644 --- a/src/misc-progs/sambactrl.c +++ b/src/misc-progs/sambactrl.c @@ -56,10 +56,6 @@ int main(int argc, char *argv[]) { safe_system("/bin/cat /var/ipfire/samba/global /var/ipfire/samba/default.s= hares > /var/ipfire/samba/smb.conf"); safe_system("/bin/cat /var/ipfire/samba/default.shares > /var/ipfire/samba= /shares"); =20 - } else if (strcmp(argv[1], "smbprinterreset") =3D=3D 0) { - safe_system("/bin/cat /var/ipfire/samba/global /var/ipfire/samba/shares /v= ar/default.printer > /var/ipfire/samba/smb.conf"); - safe_system("/bin/cat /var/ipfire/samba/default.printer > /var/ipfire/samb= a/printer"); - } else if (strcmp(argv[1], "smbstop") =3D=3D 0) { safe_system("/etc/rc.d/init.d/samba stop >/dev/null"); safe_system("/usr/local/bin/sambactrl disable"); --=20 2.20.1 --===============5241077742325680580==--