浏览代码

fix samba3 package

Waldemar Brodkorb 9 年之前
父节点
当前提交
127e6eccf0
共有 3 个文件被更改,包括 4 次插入4 次删除
  1. 0 0
      package/samba3/files/samba3.conffiles
  2. 3 3
      package/samba3/files/samba3.init
  3. 1 1
      package/samba3/files/samba3.postinst

+ 0 - 0
package/samba3/files/samba.conffiles → package/samba3/files/samba3.conffiles


+ 3 - 3
package/samba3/files/samba.init → package/samba3/files/samba3.init

@@ -1,13 +1,13 @@
 #!/bin/sh
-#PKG samba
+#PKG samba3
 #INIT 80
 . /etc/rc.conf
 
 case $1 in
 autostop) ;;
 autostart)
-	test x"${samba:-NO}" = x"NO" && exit 0
-	test x"$samba" = x"DAEMON" && test -x /bin/mksh && exec mksh -T- $0 start
+	test x"${samba3:-NO}" = x"NO" && exit 0
+	test x"$samba3" = x"DAEMON" && test -x /bin/mksh && exec mksh -T- $0 start
 	exec sh $0 start
 	;;
 start)

+ 1 - 1
package/samba3/files/samba.postinst → package/samba3/files/samba3.postinst

@@ -1,3 +1,3 @@
 #!/bin/sh
 . $IPKG_INSTROOT/etc/functions.sh
-add_rcconf samba NO
+add_rcconf samba3 NO