Update of /cvsroot/devil-linux/build/scripts
In directory sc8-pr-cvs1:/tmp/cvs-serv10981/scripts
Modified Files:
hotplug
Log Message:
fix permissions
Index: hotplug
===================================================================
RCS file: /cvsroot/devil-linux/build/scripts/hotplug,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- hotplug 13 Oct 2003 17:36:08 -0000 1.8
+++ hotplug 31 Dec 2003 01:32:26 -0000 1.9
@@ -33,10 +33,17 @@
bzcat $DL_DIR/src/hotplug_nowarning.diff.bz2 | patch -p1 || exit 1
fi
copy_man
+
+ # clean out the CVS stuff and set correct permissions
+ find -name CVS | xargs rm -rf || exit 1
+ chmod 755 etc/hotplug/*.agent || exit 1
+ chmod 755 etc/hotplug/*.rc || exit 1
+
cp -dpR ./etc/hotplug $ETCDIR/etc/ || exit 1
cp -dpR ./etc/hotplug.d $ETCDIR/etc/ || exit 1
cp -dpR ./sbin/* $CDDIR/sbin/ || exit 1
cp -p $MYDIR/scripts/hotplug $ETCDIR/etc/init.d/ || exit 1
+
fi
;;
* )
|