No longer auto-start pkgsrc packages
In order to comply with the pkgsrc standards, pkgsrc packages are no longer auto-started. Instead, we require that users follow the common pkgsrc procedure: to start a pkgsrc package as part of system startup, copy its startup script from /usr/pkg/etc/rc.d to /etc/rc.d, and make the appropriate changes to /etc/rc.conf. This change affects in particular the openssh package, of which its ssh daemon is no longer auto-started. However, installing this package also no longer causes all kinds of Kerberos-related warnings to be reported at boot time now. Also remove a leftover reference to the defunct ddekit usb package. Change-Id: I4d42f6ca1ab5e3bc2ec296bc7c0e3056964ae451
This commit is contained in:
parent
325ce30bcc
commit
e4449940d2
@ -214,15 +214,6 @@ stop)
|
||||
# RS: devman not running?
|
||||
sleep 1
|
||||
fi
|
||||
#
|
||||
# usbd needs to be stopped exactly
|
||||
# at this stage(before stopping devman
|
||||
# and after stopping the services
|
||||
# stated by devmand)
|
||||
if [ -x /usr/pkg/etc/rc.d/usbd ]
|
||||
then
|
||||
/usr/pkg/etc/rc.d/usbd stop
|
||||
fi
|
||||
|
||||
if [ -x /service/usbd ]
|
||||
then
|
||||
|
23
etc/usr/rc
23
etc/usr/rc
@ -417,26 +417,3 @@ stop)
|
||||
fi
|
||||
fi
|
||||
esac
|
||||
|
||||
# Let packages run their own scripts
|
||||
# FIXME: this should be removed altogether: pkgsrc is not supposed to be used
|
||||
# this way. Instead, the user should copy over scripts from /usr/pkg/etc/rc.d
|
||||
# to /etc/rc.d as desired, and configure them in /etc/rc.conf as appropriate.
|
||||
for d in /usr/local/etc/rc.d /usr/pkg/etc/rc.d
|
||||
do
|
||||
if [ -d "$d" -a -z "$bootcd" ]
|
||||
then ( if cd $d
|
||||
then
|
||||
echo -n "Local packages ($action): "
|
||||
for f in *
|
||||
do
|
||||
if [ -x "$f" ]
|
||||
then echo -n "$f "
|
||||
sh "$f" "$action"
|
||||
fi
|
||||
done
|
||||
echo " done."
|
||||
fi
|
||||
)
|
||||
fi
|
||||
done
|
||||
|
Loading…
x
Reference in New Issue
Block a user