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

Last change on this file since 45918 was 45684, checked in by obi, 4 years ago

fix last commit

File size: 286 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
9rm /mnt/config/smb.conf
10
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.