update own files

Signed-off-by: Gwenhael Le Moine <gwenhael.le.moine@gmail.com>
This commit is contained in:
Gwenhael Le Moine 2012-03-02 16:11:09 +01:00
parent e2549f4f53
commit 74db338368
4 changed files with 15 additions and 1 deletions

View file

@ -34,3 +34,11 @@ if [ -x /etc/rc.d/rc.vboxweb-service ]; then
/etc/rc.d/rc.vboxweb-service start
fi
[ -x /etc/rc.d/rc.Tether ] && /etc/rc.d/rc.Tether start
# To disable avahi, chmod rc.avahidaemon and rc.avahidnsconfd to 644
if [ -x /etc/rc.d/rc.avahidaemon -a -x /etc/rc.d/rc.avahidnsconfd ]; then
/etc/rc.d/rc.avahidaemon start
/etc/rc.d/rc.avahidnsconfd start
fi

View file

@ -9,3 +9,8 @@ find /tmp -name \*.t\?z -maxdepth 1 -exec mv {} $PKGS_REPO \;
# Clean up said repository of obsolete (not installed) packages
cd $PKGS_REPO
for i in *.t?z; do [ ! -e /var/adm/packages/${i%.t?z} ] && rm $i; done
if [ -x /etc/rc.d/rc.avahidaemon -a -x /etc/rc.d/rc.avahidnsconfd ]; then
/etc/rc.d/rc.avahidaemon stop
/etc/rc.d/rc.avahidnsconfd stop
fi

View file

@ -1 +1,2 @@
SUBSYSTEM=="usb", SYSFS{idVendor}=="1004", MODE="0666"
SUBSYSTEM=="usb", SYSFS{idVendor}=="18d1", MODE="0666"

View file

@ -1,5 +1,5 @@
#!/bin/sh
for i in $(find config -type f); do
cp -a "${i#config}" config/ ;
cp -a "${i#config}" $(dirname $i) ;
done