smb_isdisabled
if (!online && !smb_isautoenable() && smb_isdisabled())
if (!isonline && !smb_isautoenable() && smb_isdisabled())