source: ipk/source.sh4/network_samba/CONTROL/postrm@ 24447

Last change on this file since 24447 was 24447, checked in by tobayer, 12 years ago

[TPK samba] update control files

File size: 261 bytes
Line 
1#!/bin/sh
2INSTDIR="$1"
3
4if [ "$INSTDIR" != "/var" ]; then
5 rm -rf /var/bin/smbd > /dev/null 2>&1
6 rm -rf /var/bin/nmbd > /dev/null 2>&1
7fi
8
9if [ -f /mnt/config/start-config ]; then
10 sed -i s#"sambaserver=y"#"sambaserver=n"#g /mnt/config/start-config
11fi
12
13exit 0
Note: See TracBrowser for help on using the repository browser.