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

Last change on this file since 42657 was 35666, checked in by Stephan, 11 years ago

[tpk] add rm smb.conf @ remove

File size: 286 bytes
RevLine 
[13993]1#!/bin/sh
[24447]2INSTDIR="$1"
[13993]3
[24447]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
[35666]9rm /mnt/config/smb.conf
10
[24435]11if [ -f /mnt/config/start-config ]; then
12 sed -i s#"sambaserver=y"#"sambaserver=n"#g /mnt/config/start-config
13fi
14
15exit 0
Note: See TracBrowser for help on using the repository browser.