1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-29 21:45:30 +02:00

add missing codepages, add syslog support and use it by default

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1996 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nico 2005-09-29 07:04:02 +00:00
parent b9037feb2e
commit dad4d0ea84
3 changed files with 4 additions and 2 deletions

View File

@ -119,6 +119,7 @@ $(PKG_BUILD_DIR)/.built:
$(DISABLE_NLS) \ $(DISABLE_NLS) \
--with-lockdir=/var/run/samba \ --with-lockdir=/var/run/samba \
--with-privatedir=/etc/samba \ --with-privatedir=/etc/samba \
--with-syslog \
); );
$(MAKE) -C $(PKG_BUILD_DIR)/source \ $(MAKE) -C $(PKG_BUILD_DIR)/source \
$(TARGET_CONFIGURE_OPTS) \ $(TARGET_CONFIGURE_OPTS) \
@ -160,6 +161,7 @@ $(IPKG_SAMBA):
install -m0755 $(PKG_BUILD_DIR)/source/bin/smbd.shared $(IDIR_SAMBA)/usr/sbin/smbd install -m0755 $(PKG_BUILD_DIR)/source/bin/smbd.shared $(IDIR_SAMBA)/usr/sbin/smbd
install -d -m0755 $(IDIR_SAMBA)/usr/share/samba install -d -m0755 $(IDIR_SAMBA)/usr/share/samba
install -m0644 $(PKG_INSTALL_DIR)/usr/share/samba/codepage.{437,850} $(IDIR_SAMBA)/usr/share/samba/ install -m0644 $(PKG_INSTALL_DIR)/usr/share/samba/codepage.{437,850} $(IDIR_SAMBA)/usr/share/samba/
install -m0644 $(PKG_INSTALL_DIR)/usr/share/samba/unicode_map.{437,850} $(IDIR_SAMBA)/usr/share/samba/
$(RSTRIP) $(IDIR_SAMBA) $(RSTRIP) $(IDIR_SAMBA)
$(IPKG_BUILD) $(IDIR_SAMBA) $(PACKAGE_DIR) $(IPKG_BUILD) $(IDIR_SAMBA) $(PACKAGE_DIR)

View File

@ -1,7 +1,6 @@
#!/bin/sh #!/bin/sh
DEFAULT=/etc/default/samba DEFAULT=/etc/default/samba
LOG_D=/var/log/samba
RUN_D=/var/run/samba RUN_D=/var/run/samba
NMBD_PID_F=$RUN_D/nmbd.pid NMBD_PID_F=$RUN_D/nmbd.pid
SMBD_PID_F=$RUN_D/smbd.pid SMBD_PID_F=$RUN_D/smbd.pid
@ -9,7 +8,6 @@ SMBD_PID_F=$RUN_D/smbd.pid
case $1 in case $1 in
start) start)
mkdir -p $LOG_D
mkdir -p $RUN_D mkdir -p $RUN_D
nmbd -D $NMBD_OPTIONS nmbd -D $NMBD_OPTIONS
smbd -D $SMBD_OPTIONS smbd -D $SMBD_OPTIONS

View File

@ -1,4 +1,6 @@
[global] [global]
syslog = 0
syslog only = yes
workgroup = OpenWrt workgroup = OpenWrt
security = share security = share
guest account = nobody guest account = nobody