From: Heiko Z. <smi...@us...> - 2008-01-30 20:41:52
|
Update of /cvsroot/devil-linux/build/scripts In directory sc8-pr-cvs12.sourceforge.net:/tmp/cvs-serv22726/scripts Modified Files: create_cd_dirs Added Files: vncrepeater Log Message: initial check in of vnc repeater --- NEW FILE: vncrepeater --- #!/bin/bash # $Source: /cvsroot/devil-linux/build/scripts/vncrepeater,v $ # $Revision: 1.1 $ # $Date: 2008/01/30 20:41:45 $ # # http://www.devil-linux.org # you need the next line, otherwise script won't be executed !!! # DL-build-system v3 ### BEGIN INIT INFO # Provides: vncrepeater # Required-Start: $basebuildtools $libs # Required-Stop: # Default-Start: 1 2 # Default-Stop: # Description: description ### END INIT INFO # get the directoryname of the script MYDIR=${0%/*} # source functions and config source $MYDIR/settings MYNAME=VNCREPEATER case $1 in build ) if [ "$CONFIG_VNCREPEATER" = "y" ]; then make || exit 1 strip_debug fi ;; install ) if [ "$CONFIG_VNCREPEATER" = "y" ]; then cp -dpv repeater $CDDIR/usr/sbin/vncrepeater || exit 1 cp -dpv uvncrepeater.ini $ETCDIR/etc/vncrepeater.ini || exit 1 fi ;; * ) echo "ERROR ($0)" echo "please add parameter so I know what to do" exit 1 ;; esac Index: create_cd_dirs =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/create_cd_dirs,v retrieving revision 1.31 retrieving revision 1.32 diff -u -d -r1.31 -r1.32 --- create_cd_dirs 26 Jan 2008 15:35:12 -0000 1.31 +++ create_cd_dirs 30 Jan 2008 20:41:45 -0000 1.32 @@ -72,13 +72,13 @@ fi # create links -# ln -sf ../shm/dev $CDDIR/dev - ln -sf var/tmp $CDDIR/tmp + ln -sf /var/tmp $CDDIR/tmp ln -sf /shm/etc $CDDIR/etc ln -sf /shm/root $CDDIR/root ln -sf /var/tmp $CDDIR/usr/tmp ln -sf /shm/jail $CDDIR/jail ln -sf /shm/mnt $CDDIR/mnt + ln -sf /var/spool $CDDIR/usr/spool # set directory permissions chmod 1777 $CDDIR/var/tmp |