From: jakob Date: Tue, 25 Apr 2000 21:08:41 +0000 (+0000) Subject: change /usr/share/skel to /etc/skel. maintain dot.magic for backwards compability. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=0ef5f496497d2a0dfd19c0dd780e9432270a447b;p=openbsd change /usr/share/skel to /etc/skel. maintain dot.magic for backwards compability. --- diff --git a/usr.sbin/adduser/adduser.perl b/usr.sbin/adduser/adduser.perl index 7076ae5b41e..d7086a28d66 100644 --- a/usr.sbin/adduser/adduser.perl +++ b/usr.sbin/adduser/adduser.perl @@ -1,6 +1,6 @@ #!/usr/bin/perl # -# $OpenBSD: adduser.perl,v 1.20 2000/01/03 19:30:00 millert Exp $ +# $OpenBSD: adduser.perl,v 1.21 2000/04/25 21:08:41 jakob Exp $ # # Copyright (c) 1995-1996 Wolfram Schneider . Berlin. # All rights reserved. @@ -69,7 +69,7 @@ exit(!&batch(@batch)) if $#batch >= 0; # batch mode sub variables { $verbose = 1; # verbose = [0-2] $defaultpasswd = "yes"; # use password for new users - $dotdir = "/usr/share/skel"; # copy dotfiles from this dir + $dotdir = "/etc/skel"; # copy dotfiles from this dir $dotdir_bak = $dotdir; $send_message = "no"; # send message to new user $send_message_bak = '/etc/adduser.message'; @@ -1453,7 +1453,7 @@ sub config_write { print C <