Radix cross Linux

The main Radix cross Linux repository contains the build scripts of packages, which have the most complete and common functionality for desktop machines

452 Commits   2 Branches   1 Tag
Index: rc.4
===================================================================
--- rc.4	(revision 384)
+++ rc.4	(revision 385)
@@ -18,6 +18,22 @@
   exec /bin/bash /etc/rc.d/rc.4.local
 fi
 
+# Try to use lightdm session manager:
+if [ -x /usr/bin/lightdm ]; then
+  #
+  # Disable to create /.cache directory by root:
+  #
+  mkdir -p /var/lib/lightdm/.cache
+  chown -R lightdm:lightdm /var/lib/lightdm
+
+  PATH="/usr/bin:/bin"
+  HOME=/var/lib/lightdm
+
+  export PATH HOME
+
+  exec /usr/bin/lightdm
+fi
+
 # Try to use GNOME's gdm session manager. This comes first because if gdm is on the
 # machine then the user probably installed it and wants to use it by default:
 if [ -x /usr/bin/gdm ]; then
Index: rc.6
===================================================================
--- rc.6	(revision 384)
+++ rc.6	(revision 385)
@@ -90,6 +90,16 @@
   /etc/rc.d/rc.gpm stop
 fi
 
+# Stop transmission daemon
+if [ -x /etc/rc.d/rc.transmission ]; then
+  /etc/rc.d/rc.transmission stop
+fi
+
+# Stop the MiniDLNA server:
+if [ -x /etc/rc.d/rc.minidlna ]; then
+  /etc/rc.d/rc.minidlna stop
+fi
+
 # Stop Samba:
 if [ -x /etc/rc.d/rc.samba ]; then
   /etc/rc.d/rc.samba stop
Index: rc.M.in
===================================================================
--- rc.M.in	(revision 384)
+++ rc.M.in	(revision 385)
@@ -474,7 +474,6 @@
   /etc/rc.d/rc.keymap
 fi
 
-
 # Start the MySQL database:
 if [ -x /etc/rc.d/rc.mysqld ]; then
   /etc/rc.d/rc.mysqld start
@@ -536,6 +535,16 @@
   /etc/rc.d/rc.samba start
 fi
 
+# Start the MiniDLNA server:
+if [ -x /etc/rc.d/rc.minidlna ]; then
+  /etc/rc.d/rc.minidlna start
+fi
+
+# Start transmission daemon
+if [ -x /etc/rc.d/rc.transmission ]; then
+  /etc/rc.d/rc.transmission start
+fi
+
 # Start the GPM mouse server:
 if [ -x /etc/rc.d/rc.gpm ]; then
   /etc/rc.d/rc.gpm start
Index: rc.local
===================================================================
--- rc.local	(revision 384)
+++ rc.local	(revision 385)
@@ -5,3 +5,12 @@
 # Put any local startup commands in here.
 #
 
+# Start avahidaemon
+if [ -x /etc/rc.d/rc.avahidaemon ] ; then
+  /etc/rc.d/rc.avahidaemon start
+fi
+# Start avahidnsconfd
+if [ -x /etc/rc.d/rc.avahidnsconfd ] ; then
+  /etc/rc.d/rc.avahidnsconfd start
+fi
+
Index: rc.local_shutdown
===================================================================
--- rc.local_shutdown	(revision 384)
+++ rc.local_shutdown	(revision 385)
@@ -6,3 +6,12 @@
 # you can put those commands in here.
 #
 
+# Stop avahidnsconfd
+if [ -x /etc/rc.d/rc.avahidnsconfd ]; then
+  /etc/rc.d/rc.avahidnsconfd stop
+fi
+# Stop avahidaemon
+if [ -x /etc/rc.d/rc.avahidaemon ]; then
+  /etc/rc.d/rc.avahidaemon stop
+fi
+
Index: rc.modules
===================================================================
--- rc.modules	(revision 384)
+++ rc.modules	(revision 385)
@@ -25,3 +25,4 @@
 if [ -x "/etc/rc.d/rc.modules.local" ]; then
   /etc/rc.d/rc.modules.local
 fi
+