rc.subr (227366) | rc.subr (229783) |
---|---|
1# $NetBSD: rc.subr,v 1.67 2006/10/07 11:25:15 elad Exp $ | 1# $NetBSD: rc.subr,v 1.67 2006/10/07 11:25:15 elad Exp $ |
2# $FreeBSD: head/etc/rc.subr 227366 2011-11-08 23:02:32Z jilles $ | 2# $FreeBSD: head/etc/rc.subr 229783 2012-01-07 16:10:32Z uqs $ |
3# 4# Copyright (c) 1997-2004 The NetBSD Foundation, Inc. 5# All rights reserved. 6# 7# This code is derived from software contributed to The NetBSD Foundation 8# by Luke Mewburn. 9# 10# Redistribution and use in source and binary forms, with or without --- 1264 unchanged lines hidden (view full) --- 1275 esac 1276 fi 1277} 1278 1279# make_symlink src link 1280# Make a symbolic link 'link' to src from basedir. If the 1281# directory in which link is to be created does not exist 1282# a warning will be displayed and an error will be returned. | 3# 4# Copyright (c) 1997-2004 The NetBSD Foundation, Inc. 5# All rights reserved. 6# 7# This code is derived from software contributed to The NetBSD Foundation 8# by Luke Mewburn. 9# 10# Redistribution and use in source and binary forms, with or without --- 1264 unchanged lines hidden (view full) --- 1275 esac 1276 fi 1277} 1278 1279# make_symlink src link 1280# Make a symbolic link 'link' to src from basedir. If the 1281# directory in which link is to be created does not exist 1282# a warning will be displayed and an error will be returned. |
1283# Returns 0 on sucess, 1 otherwise. | 1283# Returns 0 on success, 1 otherwise. |
1284# 1285make_symlink() 1286{ 1287 local src link linkdir _me 1288 src="$1" 1289 link="$2" 1290 linkdir="`dirname $link`" 1291 _me="make_symlink()" --- 487 unchanged lines hidden --- | 1284# 1285make_symlink() 1286{ 1287 local src link linkdir _me 1288 src="$1" 1289 link="$2" 1290 linkdir="`dirname $link`" 1291 _me="make_symlink()" --- 487 unchanged lines hidden --- |