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

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

fix last commit

File size: 286 bytes
RevLine 
[13993]1#!/bin/sh
[24447]2INSTDIR="$1"
[13993]3
[45684]4if [ "$INSTDIR" != "/var" ]; then
[24447]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
[45684]11if [ -f /mnt/config/start-config ]; then
[24435]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.