D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
var
/
lib
/
dpkg
/
info
/
Filename :
samba.prerm
back
Copy
#!/bin/sh set -e # Automatically added by dh_installsystemd/12.10ubuntu1 if [ -d /run/systemd/system ] && [ "$1" = remove ]; then deb-systemd-invoke stop 'nmbd.service' 'samba-ad-dc.service' 'smbd.service' >/dev/null || true fi # End automatically added section # Automatically added by dh_installinit/12.10ubuntu1 if [ -x "/etc/init.d/samba-ad-dc" ] && [ "$1" = remove ]; then invoke-rc.d --skip-systemd-native samba-ad-dc stop || exit 1 fi # End automatically added section # Automatically added by dh_installinit/12.10ubuntu1 if [ -x "/etc/init.d/nmbd" ] && [ "$1" = remove ]; then invoke-rc.d --skip-systemd-native nmbd stop || nmbd_error_handler fi # End automatically added section # Automatically added by dh_installinit/12.10ubuntu1 if [ -x "/etc/init.d/smbd" ] && [ "$1" = remove ]; then invoke-rc.d --skip-systemd-native smbd stop || exit 1 fi # End automatically added section # Automatically added by dh_installdeb/12.10ubuntu1 dpkg-maintscript-helper rm_conffile /etc/init.d/samba 2:4.6.5\+dfsg-5\~ -- "$@" dpkg-maintscript-helper rm_conffile /etc/init/nmbd.conf 2:4.6.5\+dfsg-5\~ -- "$@" dpkg-maintscript-helper rm_conffile /etc/init/reload-smbd.conf 2:4.6.5\+dfsg-5\~ -- "$@" dpkg-maintscript-helper rm_conffile /etc/init/samba-ad-dc.conf 2:4.6.5\+dfsg-5\~ -- "$@" dpkg-maintscript-helper rm_conffile /etc/init/smbd.conf 2:4.6.5\+dfsg-5\~ -- "$@" # End automatically added section