Do not call testparm in /etc/init.d/smb
[samba.git] / packaging / RHEL-CTDB / setup / smb.init
index af85b2c079a6ff00caad691bc86bc017bb30d0d8..4dd5b23ae7bf2c92cd507d45f80e83cd70cf6314 100644 (file)
@@ -38,11 +38,12 @@ fi
 [ -w /etc/samba/smb.conf ] || exit 0
 
 # Check whether "netbios disabled" is true
-ISNETBIOSDISABLED=$(testparm -s 2>/dev/null | \
-       sed -n '/\[global\]/,/^$/p' | \
-       grep "disable netbios = Yes" | \
-       awk 'BEGIN{FS=" = "}{print $2}')
+#ISNETBIOSDISABLED=$(testparm -s 2>/dev/null | \
+#      sed -n '/\[global\]/,/^$/p' | \
+#      grep "disable netbios = Yes" | \
+#      awk 'BEGIN{FS=" = "}{print $2}')
 
+ISNETBIOSDISABLED=Yes
 
 RETVAL=0