Correction of paths for BSDs
This commit is contained in:
committed by
Jon Trulson
parent
ca9da25d44
commit
3a28782409
@@ -57,8 +57,16 @@ if [ "$DTXSERVERLOCATION" = "local" ]
|
||||
then
|
||||
if [[ ! -z "$ITE" && "$ITE" != "??" && -a "/dev/$ITE" ]]
|
||||
then
|
||||
#if defined (__OpenBSD__)
|
||||
/sbin/chown $USER /dev/$ITE
|
||||
/bin/chgrp $USER_GID /dev/$ITE
|
||||
#elif defined (__FreeBSD__)
|
||||
/usr/sbin/chown $USER /dev/$ITE
|
||||
/usr/bin/chgrp $USER_GID /dev/$ITE
|
||||
#else
|
||||
/bin/chown $USER /dev/$ITE
|
||||
/bin/chgrp $USER_GID /dev/$ITE
|
||||
#endif
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user