[Pkg-samba-maint] r796 - trunk
Christian Perrier
bubulle at costa.debian.org
Sun Dec 11 09:18:50 UTC 2005
Author: bubulle
Date: 2005-12-11 09:18:50 +0000 (Sun, 11 Dec 2005)
New Revision: 796
Modified:
trunk/samba.config
Log:
Changes suggested by Steve
Modified: trunk/samba.config
===================================================================
--- trunk/samba.config 2005-12-11 08:49:07 UTC (rev 795)
+++ trunk/samba.config 2005-12-11 09:18:50 UTC (rev 796)
@@ -5,7 +5,6 @@
# Source debconf library.
. /usr/share/debconf/confmodule
-DEFAULTRUNMODE="daemons"
RCFILE=/etc/default/samba
# Function for grabbing a parameter from an smb.conf file
@@ -33,13 +32,12 @@
read_rcfile() {
# Default values
if [ -f $RCFILE ]; then
- RUN_MODE="$DEFAULTRUNMODE"
. $RCFILE || true
fi
}
set_debconf() {
- if [ "$RUN_MODE" ]; then
+ if [ -n "$RUN_MODE" ]; then
db_set samba/run_mode "$RUN_MODE" || true
fi
}
More information about the Pkg-samba-maint
mailing list