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

Last change on this file was 46274, checked in by obi, 3 years ago

update lost files with install echo

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