Index: ipk/source.sh4/network_samba/CONTROL/postrm
===================================================================
--- ipk/source.sh4/network_samba/CONTROL/postrm	(revision 23464)
+++ ipk/source.sh4/network_samba/CONTROL/postrm	(revision 24435)
@@ -1,3 +1,8 @@
 #!/bin/sh
 
+if [ -f /mnt/config/start-config ]; then
+	echo "deactivate samba..."
+	sed -i s#"sambaserver=y"#"sambaserver=n"#g /mnt/config/start-config
+fi
+
 exit 0
