Signed-off-by: Michael Tremer michael.tremer@ipfire.org --- 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.shares > /var/ipfire/samba/smb.conf"); safe_system("/bin/cat /var/ipfire/samba/default.shares > /var/ipfire/samba/shares");
- } else if (strcmp(argv[1], "smbprinterreset") == 0) { - safe_system("/bin/cat /var/ipfire/samba/global /var/ipfire/samba/shares /var/default.printer > /var/ipfire/samba/smb.conf"); - safe_system("/bin/cat /var/ipfire/samba/default.printer > /var/ipfire/samba/printer"); - } else if (strcmp(argv[1], "smbstop") == 0) { safe_system("/etc/rc.d/init.d/samba stop >/dev/null"); safe_system("/usr/local/bin/sambactrl disable");