aboutsummaryrefslogtreecommitdiff
path: root/shells/scponly/pkg-plist
diff options
context:
space:
mode:
Diffstat (limited to 'shells/scponly/pkg-plist')
-rw-r--r--shells/scponly/pkg-plist4
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"