diff --git a/etc/rc.minix b/etc/rc.minix index 1c213e09f..506971a0f 100755 --- a/etc/rc.minix +++ b/etc/rc.minix @@ -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 diff --git a/etc/usr/rc b/etc/usr/rc index 614a8f50b..69dfb1607 100644 --- a/etc/usr/rc +++ b/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