diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-06-11 17:42:36 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-06-11 17:42:36 +0000 |
commit | 2bacde9c3b2c44465f7058cb9b4c6e7dc4700ac2 (patch) | |
tree | 8b56f25125b5be6dd05af340e094bb197df7f3bc /shells/scponly/pkg-plist | |
parent | de32df923135bbd415900176644d4602881f1f76 (diff) |
Notes
Diffstat (limited to 'shells/scponly/pkg-plist')
-rw-r--r-- | shells/scponly/pkg-plist | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/shells/scponly/pkg-plist b/shells/scponly/pkg-plist index 744216e6a3cf..dee68060efd7 100644 --- a/shells/scponly/pkg-plist +++ b/shells/scponly/pkg-plist @@ -1,6 +1,4 @@ -bin/scponly -@exec echo "Updating /etc/shells"; cp /etc/shells /etc/shells.bak; (grep -v %D/%F /etc/shells.bak; echo %D/%F) >/etc/shells; rm -f /etc/shells.bak -@unexec echo "Updating /etc/shells"; cp /etc/shells /etc/shells.bak; (grep -v %D/%F /etc/shells.bak) >/etc/shells; rm -f /etc/shells.bak +@shell bin/scponly %%CHROOT%%@exec echo "" %%CHROOT%%@exec echo "To setup chroot cage, run the following commands:" %%CHROOT%%@exec echo " 1) cd %%PREFIX%%/%%EXAMPLESDIR%%/ && /bin/sh setup_chroot.sh" |