Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:scabrero:branches:SUSE:ALP:Workloads
winbind-container
label-uninstall
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File label-uninstall of Package winbind-container
#!/bin/sh -eux # This is the uninstall script for winbind when run in a privileged container. # # The host file system must be mounted at /host cd / PATH="/usr/bin:/usr/sbin" if [ ! -d /host/etc ] || [ ! -d /host/proc ] || [ ! -d /host/run ]; then echo "winbind-uninstall: host file system is not mounted at /host" exit 1 fi # Remove unit file rm -fr /host/etc/systemd/system/winbind.service # Uninstall sysconfig if [ -e /host/etc/sysconfig/samba ]; then fillup -m -r /host/etc/sysconfig/samba /etc/sysconfig/samba /host/etc/sysconfig/samba mv /host/etc/sysconfig/samba.new /host/etc/sysconfig/samba if [ ! -s /host/etc/sysconfig/samba ]; then rm /host/etc/sysconfig/samba fi fi if [ -d /host/var/lib/samba ]; then rm -rf /host/var/lib/samba fi if [ -d /host/var/log/samba ]; then rm -rf /host/var/lib/samba fi
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor