]> Zhao Yanbai Git Server - minix.git/commitdiff
Move all services to /service
authorLionel Sambuc <lionel@minix3.org>
Tue, 29 Jul 2014 18:29:57 +0000 (20:29 +0200)
committerLionel Sambuc <lionel@minix3.org>
Thu, 31 Jul 2014 14:00:31 +0000 (16:00 +0200)
This concerns all services, a.k.a drivers, filesystem drivers, network
(inet, lwip, uds) servers, and the system servers.

Change-Id: I626fd15c795e15af42df2d10d47fb4a703665d63

58 files changed:
distrib/sets/lists/minix/md.evbarm
distrib/sets/lists/minix/md.i386
distrib/sets/lists/minix/mi
etc/defaults/minix.rc.conf
etc/mtree/NetBSD.dist.base
etc/rc
etc/rc.capes/BB-BONE-WTHR-01
etc/rs.inet
minix/commands/swifi/run_swifi
minix/commands/swifi/run_t1
minix/commands/swifi/run_t2
minix/drivers/Makefile.inc
minix/drivers/audio/Makefile.inc
minix/drivers/audio/README
minix/drivers/audio/sb16/README
minix/drivers/bus/i2c/README.txt
minix/drivers/clock/Makefile.inc
minix/drivers/clock/readclock/Makefile
minix/drivers/eeprom/cat24c256/README.txt
minix/drivers/hid/pckbd/Makefile
minix/drivers/power/tps65950/README.txt
minix/drivers/sensors/bmp085/README.txt
minix/drivers/sensors/sht21/README.txt
minix/drivers/sensors/tsl2550/README.txt
minix/drivers/storage/ahci/Makefile
minix/drivers/storage/at_wini/Makefile
minix/drivers/storage/floppy/Makefile
minix/drivers/storage/mmc/mmcblk.c
minix/drivers/storage/ramdisk/proto
minix/drivers/storage/ramdisk/rc
minix/drivers/storage/virtio_blk/Makefile
minix/drivers/system/gpio/Makefile
minix/drivers/usb/usbd/base/earm/Makefile
minix/drivers/video/fb/README.txt
minix/drivers/video/tda19988/README.txt
minix/fs/Makefile.inc
minix/fs/ext2/Makefile
minix/fs/hgfs/Makefile
minix/fs/iso9660fs/Makefile
minix/fs/mfs/Makefile
minix/fs/pfs/Makefile
minix/fs/procfs/Makefile
minix/fs/vbfs/Makefile
minix/include/minix/paths.h
minix/lib/libc/sys/mount.c
minix/net/Makefile.inc
minix/servers/Makefile.inc
minix/servers/devman/Makefile
minix/servers/ds/Makefile
minix/servers/input/Makefile
minix/servers/ipc/Makefile
minix/servers/is/Makefile
minix/servers/pm/Makefile
minix/servers/rs/Makefile
minix/servers/sched/Makefile
minix/servers/vfs/Makefile
minix/servers/vm/Makefile
minix/tests/fbdtest/test.sh

index 0e555535ec7ea559d02b55029fbd9e6bb66997d0..695d6d46530b9f22c2654c730c582e9ba79129dc 100644 (file)
@@ -1,13 +1,20 @@
-./boot/minix/.temp/mod07_tty           minix-sys
-./boot/minix/.temp/mod08_mfs           minix-sys
-./boot/minix/.temp/mod09_vm            minix-sys
-./boot/minix/.temp/mod10_pfs           minix-sys
-./boot/minix/.temp/mod11_init          minix-sys
 ./etc/rc.capes                         minix-sys
 ./etc/rc.capes/BB-BONE-WTHR-01         minix-sys
 ./etc/system.conf.d/lan8710a           minix-sys
 ./etc/system.conf.d/usbd               minix-sys
-./sbin/gpio                            minix-sys
+./service/bmp085                       minix-sys
+./service/cat24c256                    minix-sys
+./service/fb                           minix-sys
+./service/gpio                         minix-sys
+./service/i2c                          minix-sys
+./service/lan8710a                     minix-sys
+./service/random                       minix-sys
+./service/sht21                                minix-sys
+./service/tda19988                     minix-sys
+./service/tps65217                     minix-sys
+./service/tps65950                     minix-sys
+./service/tsl2550                      minix-sys
+./service/usbd                         minix-sys
 ./usr/bin/eepromread                   minix-sys
 ./usr/include/arm                      minix-sys
 ./usr/include/arm/aeabi.h              minix-sys
 ./usr/lib/libi2cdriver_pic.a           minix-sys
 ./usr/man/man1/eepromread.1            minix-sys
 ./usr/mdec                             minix-sys
-./usr/sbin/bmp085                      minix-sys
-./usr/sbin/cat24c256                   minix-sys
-./usr/sbin/fb                          minix-sys
-./usr/sbin/i2c                         minix-sys
-./usr/sbin/lan8710a                    minix-sys
-./usr/sbin/random                      minix-sys
-./usr/sbin/sht21                       minix-sys
-./usr/sbin/tda19988                    minix-sys
-./usr/sbin/tps65217                    minix-sys
-./usr/sbin/tps65950                    minix-sys
-./usr/sbin/tsl2550                     minix-sys
-./usr/sbin/usbd                                minix-sys
 ./usr/share/beaglebone                 minix-sys
 ./usr/share/beaglebone/weather         minix-sys
 ./usr/share/beaglebone/weather/index.html              minix-sys
index 46e01d690b087a16ff6c5cb8b38fd2f85cd850b6..8fefd25eabb43298c6ebe72c04f1dc95f66aa853 100644 (file)
@@ -1,8 +1,3 @@
-./boot/minix/.temp/mod07_tty           minix-sys
-./boot/minix/.temp/mod08_mfs           minix-sys
-./boot/minix/.temp/mod09_vm            minix-sys
-./boot/minix/.temp/mod10_pfs           minix-sys
-./boot/minix/.temp/mod11_init          minix-sys
 ./etc/system.conf.d/atl2               minix-sys
 ./etc/system.conf.d/dec21140A          minix-sys
 ./etc/system.conf.d/e1000              minix-sys
 ./etc/system.conf.d/rtl8139            minix-sys
 ./etc/system.conf.d/rtl8169            minix-sys
 ./etc/system.conf.d/virtio_net         minix-sys
-./sbin/ahci                            minix-sys
-./sbin/at_wini                         minix-sys
-./sbin/floppy                          minix-sys
-./sbin/hgfs                            minix-sys
-./sbin/pckbd                           minix-sys
-./sbin/vbfs                            minix-sys
-./sbin/virtio_blk                      minix-sys
+./service/acpi                         minix-sys
+./service/ahci                         minix-sys
+./service/amddev                       minix-sys
+./service/atl2                         minix-sys
+./service/at_wini                      minix-sys
+./service/dec21140A                    minix-sys
+./service/dp8390                       minix-sys
+./service/dpeth                                minix-sys
+./service/e1000                                minix-sys
+./service/es1370                       minix-sys
+./service/es1371                       minix-sys
+./service/fbd                          minix-sys
+./service/filter                       minix-sys
+./service/floppy                       minix-sys
+./service/fxp                          minix-sys
+./service/hgfs                         minix-sys
+./service/lance                                minix-sys
+./service/orinoco                      minix-sys
+./service/pci                          minix-sys
+./service/pckbd                                minix-sys
+./service/printer                      minix-sys
+./service/random                       minix-sys
+./service/rtl8139                      minix-sys
+./service/rtl8169                      minix-sys
+./service/sb16                         minix-sys
+./service/ti1225                       minix-sys
+./service/vbfs                         minix-sys
+./service/vbox                         minix-sys
+./service/virtio_blk                   minix-sys
+./service/virtio_net                   minix-sys
 ./usr/include/gcc-4.5/abmintrin.h      minix-sys       gcccmds
 ./usr/include/gcc-4.5/ammintrin.h      minix-sys       gcccmds
 ./usr/include/gcc-4.5/avxintrin.h      minix-sys       gcccmds
 ./usr/mdec/mbr_com0                    minix-sys
 ./usr/mdec/mbr_com0_9600               minix-sys
 ./usr/mdec/mbr_ext                     minix-sys
-./usr/sbin/acpi                                minix-sys
-./usr/sbin/amddev                      minix-sys
-./usr/sbin/atl2                                minix-sys
-./usr/sbin/dec21140A                   minix-sys
-./usr/sbin/dp8390                      minix-sys
-./usr/sbin/dpeth                       minix-sys
-./usr/sbin/e1000                       minix-sys
-./usr/sbin/es1370                      minix-sys
-./usr/sbin/es1371                      minix-sys
-./usr/sbin/fbd                         minix-sys
-./usr/sbin/filter                      minix-sys
-./usr/sbin/fxp                         minix-sys
-./usr/sbin/lance                       minix-sys
-./usr/sbin/orinoco                     minix-sys
-./usr/sbin/pci                         minix-sys
-./usr/sbin/printer                     minix-sys
-./usr/sbin/random                      minix-sys
-./usr/sbin/rtl8139                     minix-sys
-./usr/sbin/rtl8169                     minix-sys
-./usr/sbin/sb16                                minix-sys
-./usr/sbin/ti1225                      minix-sys
-./usr/sbin/vbox                                minix-sys
-./usr/sbin/virtio_net                  minix-sys
 ./usr/tests/minix-posix/test47         minix-sys
 ./usr/tests/minix-posix/test51         minix-sys
 ./usr/tests/minix-posix/test57         minix-sys
index 01e9136815af09e82d2d343131685ded37a24b6c..7f3b8e262a873721f1f8e6685b9ff1a2674764ef 100644 (file)
 ./boot/minix/.temp/mod04_sched         minix-sys
 ./boot/minix/.temp/mod05_vfs           minix-sys
 ./boot/minix/.temp/mod06_memory                minix-sys
+./boot/minix/.temp/mod07_tty           minix-sys
+./boot/minix/.temp/mod08_mfs           minix-sys
+./boot/minix/.temp/mod09_vm            minix-sys
+./boot/minix/.temp/mod10_pfs           minix-sys
+./boot/minix/.temp/mod11_init          minix-sys
 ./boot/minix_default                   minix-sys
 ./dev                                  minix-sys
 ./etc                                  minix-sys
 ./root/.profile                                minix-sys
 ./sbin                                 minix-sys
 ./sbin/chown                           minix-sys
-./sbin/devman                          minix-sys
-./sbin/ext2                            minix-sys
 ./sbin/fsck                            minix-sys
 ./sbin/fsck_ext2fs                     minix-sys
 ./sbin/fsck_mfs                                minix-sys
 ./sbin/halt                            minix-sys
 ./sbin/init                            minix-sys
-./sbin/input                           minix-sys
-./sbin/is                              minix-sys
-./sbin/isofs                           minix-sys
-./sbin/mfs                             minix-sys
 ./sbin/mkfs.mfs                                minix-sys
 ./sbin/mknod                           minix-sys
 ./sbin/newfs_ext2fs                    minix-sys
 ./sbin/nologin                         minix-sys
 ./sbin/poweroff                                minix-sys
-./sbin/procfs                          minix-sys
-./sbin/readclock.drv                   minix-sys
 ./sbin/reboot                          minix-sys
 ./sbin/shutdown                                minix-sys
+./service                              minix-sys
+./service/devman                       minix-sys
+./service/ds                           minix-sys
+./service/ext2                         minix-sys
+./service/hello                                minix-sys
+./service/inet                         minix-sys
+./service/input                                minix-sys
+./service/ipc                          minix-sys
+./service/is                           minix-sys
+./service/isofs                                minix-sys
+./service/log                          minix-sys
+./service/lwip                         minix-sys
+./service/memory                       minix-sys
+./service/mfs                          minix-sys
+./service/mmc                          minix-sys
+./service/pfs                          minix-sys
+./service/pm                           minix-sys
+./service/procfs                       minix-sys
+./service/pty                          minix-sys
+./service/readclock.drv                        minix-sys
+./service/rs                           minix-sys
+./service/sched                                minix-sys
+./service/tty                          minix-sys
+./service/uds                          minix-sys
+./service/usb_storage                  minix-sys
+./service/vfs                          minix-sys
+./service/vm                           minix-sys
+./service/vnd                          minix-sys
 ./sys                                  minix-sys
 ./tmp                                  minix-sys
 ./usr                                  minix-sys
 ./usr/sbin                             minix-sys
 ./usr/sbin/chown                       minix-sys
 ./usr/sbin/chroot                      minix-sys
-./usr/sbin/ds                          minix-sys
 ./usr/sbin/group                       minix-sys
 ./usr/sbin/groupadd                    minix-sys
 ./usr/sbin/groupdel                    minix-sys
 ./usr/sbin/groupinfo                   minix-sys
 ./usr/sbin/groupmod                    minix-sys
-./usr/sbin/hello                       minix-sys
 ./usr/sbin/i2cscan                     minix-sys
-./usr/sbin/inet                                minix-sys
 ./usr/sbin/installboot_nbsd            minix-sys
-./usr/sbin/ipc                         minix-sys
 ./usr/sbin/kernel                      minix-sys
 ./usr/sbin/link                                minix-sys
-./usr/sbin/log                         minix-sys
-./usr/sbin/lwip                                minix-sys
-./usr/sbin/memory                      minix-sys
 ./usr/sbin/mkfs.mfsv3                  minix-sys
 ./usr/sbin/mkproto                     minix-sys
-./usr/sbin/mmc                         minix-sys
 ./usr/sbin/mtree                       minix-sys
 ./usr/sbin/newfs_mfs                   minix-sys
-./usr/sbin/pfs                         minix-sys
-./usr/sbin/pm                          minix-sys
 ./usr/sbin/postinstall                 minix-sys
-./usr/sbin/pty                         minix-sys
 ./usr/sbin/pwd_mkdb                    minix-sys
 ./usr/sbin/rdate                       minix-sys
-./usr/sbin/rs                          minix-sys
-./usr/sbin/sched                       minix-sys
-./usr/sbin/tty                         minix-sys
-./usr/sbin/uds                         minix-sys
 ./usr/sbin/unlink                      minix-sys
-./usr/sbin/usb_storage                 minix-sys
 ./usr/sbin/user                                minix-sys
 ./usr/sbin/useradd                     minix-sys
 ./usr/sbin/userdel                     minix-sys
 ./usr/sbin/userinfo                    minix-sys
 ./usr/sbin/usermod                     minix-sys
-./usr/sbin/vfs                         minix-sys
 ./usr/sbin/vipw                                minix-sys
-./usr/sbin/vm                          minix-sys
 ./usr/sbin/vnconfig                    minix-sys
-./usr/sbin/vnd                         minix-sys
 ./usr/sbin/vndconfig                   minix-sys
 ./usr/sbin/zic                         minix-sys
 ./usr/share                            minix-sys
index ba40b5fd3d18e047207d5bc8b37fa6853f9d317e..4f932fae51dc676ab24c6926e884bba922b6af08 100644 (file)
@@ -1,8 +1,8 @@
 # Minix-specific rc.conf default values
 
 # Where to find servers/drivers binaries
-PKG_SERVICE_DIR=/usr/pkg/minixservices
-SERVICES_DIRS="/usr/sbin $PKG_SERVICE_DIR"
+PKG_SERVICE_DIR=/usr/pkg/service
+SERVICES_DIRS="/service $PKG_SERVICE_DIR"
 
 # Where to find system.conf files and system.conf.d directories
 # for servers/drivers
index f989935ffd214e2ca26d2b7d1bb779ad1df3f0bc..20f0663e3d2973175be3ff397af4bd0f159da3cd 100644 (file)
@@ -29,6 +29,7 @@
 ./proc
 ./root
 ./sbin
+./service
 ./sys
 ./usr
 ./usr/adm
diff --git a/etc/rc b/etc/rc
index b030077ba04a9d61517e124a29d199fe7b39aa30..8fc7f0304b9b0f2e57664986ae1fea1e39493da6 100755 (executable)
--- a/etc/rc
+++ b/etc/rc
@@ -38,7 +38,7 @@ up()
     service=$1
     shift
 
-    service $opt up /sbin/$service "$@"
+    service $opt up /service/$service "$@"
 }
 
 edit()
@@ -54,10 +54,10 @@ edit()
     service=$1
     shift
 
-    # Assume binaries are always in /sbin or /usr/sbin
-    binlocation=/usr/sbin/$service
+    # Assume binaries are always in /service or /usr/pkg/service
+    binlocation=/service/$service
     if [ ! -x $binlocation ]
-    then       binlocation=/sbin/$service
+    then       binlocation=/usr/pkg/service/$service
     fi
     service $opt edit $binlocation -label $service "$@" 
 }
@@ -200,7 +200,7 @@ down|stop)
        /usr/pkg/etc/rc.d/usbd stop
     fi
 
-    if [ -x /usr/sbin/usbd ]
+    if [ -x /service/usbd ]
     then
        service down usbd
     fi
index d3f96c98279e83d2489c51724f0b8e02d96a693d..cb60e3e93d20d54b35bdb3ea36f3b43dab3d7f33 100644 (file)
@@ -4,17 +4,17 @@
 
 # TSL2550 Ambient Light Sensor
 test -e /dev/tsl2550b3s39 || (cd /dev && MAKEDEV tsl2550b3s39)
-/bin/service up /usr/sbin/tsl2550 -dev /dev/tsl2550b3s39 \
+/bin/service up /service/tsl2550 -dev /dev/tsl2550b3s39 \
        -label tsl2550.3.39 -args 'bus=3 address=0x39' && echo -n " tsl2550"
 
 # SHT21 Temperature and Humidity Sensor
 test -e /dev/sht21b3s40 || (cd /dev && MAKEDEV sht21b3s40)
-/bin/service up /usr/sbin/sht21 -dev /dev/sht21b3s40 \
+/bin/service up /service/sht21 -dev /dev/sht21b3s40 \
        -label sht21.3.40 -args 'bus=3 address=0x40' && echo -n " sht21"
 
 # BMP085 Temperature and Pressure Sensor
 test -e /dev/bmp085b3s77 || (cd /dev && MAKEDEV bmp085b3s77)
-/bin/service up /usr/sbin/bmp085 -dev /dev/bmp085b3s77 \
+/bin/service up /service/bmp085 -dev /dev/bmp085b3s77 \
        -label bmp085.3.77 -args 'bus=3 address=0x77' && echo -n " bmp085"
 
 daemonize tcpd http /usr/share/beaglebone/weather/weatherstation.lua
index b4bc3c840896791a51fa444f246041cad8dd1510..5bd9d6b70b25a9cc1486c788b22eec89932909fe 100755 (executable)
@@ -6,8 +6,7 @@
 kill_by_name()
 {
        label="$1"
-       pid=`ps ax | grep "$label" | grep -v grep |
-               sed 's,[        ]*\([0-9]*\).*,\1,`
+       pid=`ps ax | grep "$label" | grep -v grep | sed 's,[    ]*\([0-9]*\).*,\1,'`
        if [ X"$pid" = X ]
        then
                return 1        # No such process
@@ -65,10 +64,10 @@ kill_by_name syslogd
 sleep 3
 if [ X`/bin/sysenv lwip` = Xyes ]
 then
-       service up /usr/sbin/lwip -script /etc/rs.inet -dev /dev/ip
+       service up /service/lwip -script /etc/rs.inet -dev /dev/ip
        dhcpd --lwip &
 else
-       service up /usr/sbin/inet -script /etc/rs.inet -dev /dev/ip
+       service up /service/inet -script /etc/rs.inet -dev /dev/ip
        daemonize dhcpd
 fi
 daemonize nonamed -L
index 1836e4af24a7f5e545c644e0cb1ec9c17673c0e1..8d7fbcb7040fb5817a4c9b77de5102f2b4d08cf9 100644 (file)
@@ -2,7 +2,7 @@
 
 LABEL=e1000_0
 NAME=e1000
-EXEDIR=/usr/src/drivers/$NAME
+EXEDIR=/service
 EXE=$EXEDIR/$NAME
 
 :>log
@@ -19,7 +19,7 @@ do_one()
        while [ X"$pid" = X ]
        do
                pid=`ps ax | grep $NAME | grep -v grep |
-                       sed 's,^[       ]*,,;s,[        ].*,,`
+                       sed 's,^[       ]*,,;s,[        ].*,,'`
                if [ X"$pid" != X ]
                then
                        break
index cae9cb4ef9cb681feb207ea4e0006a261198d350..ebffbdc054e1f4b5959996eda46d5185644d8490 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 
 LABEL=es1371
-EXEDIR=/usr/build/drivers/es1371
+EXEDIR=/service/es1371
 #LABEL=fxp
 #EXEDIR=/usr/build/drivers/fxp
 EXE=$EXEDIR/$LABEL
@@ -18,7 +18,7 @@ do_one()
                ps ax | grep $LABEL | grep -v grep
                pid=`ps ax | grep $LABEL | grep -v grep |
                        sort -n | tail -1 |
-                       sed 's,^[       ]*,,;s,[        ].*,,`
+                       sed 's,^[       ]*,,;s,[        ].*,,'`
                if [ X"$pid" != X ]
                then
                        break
index 4bce2aeaaa768ed9e2eec601c026d26bba510324..9a2408642a31c74b0a8bfbe1fe76ca271eeb3a08 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 
 LABEL=dp8390
-EXEDIR=/usr/build/drivers/dp8390
+EXEDIR=/service/dp8390
 EXE=$EXEDIR/$LABEL
 DAYTIME_HOST=jetsam.cs.vu.nl
 FAULTS_PER_BLOCK=1
@@ -19,7 +19,7 @@ do_one()
        while [ X"$pid" = X ]
        do
                pid=`ps ax | grep $LABEL | grep -v grep |
-                       sed 's,^[       ]*,,;s,[        ].*,,`
+                       sed 's,^[       ]*,,;s,[        ].*,,'`
                if [ X"$pid" != X ]
                then
                        break
index 5c329c729f942d8f1eb629e65e0d55a67d77563f..c90ad6ae7c4f2d32512494688b5fdef305fd7dce 100644 (file)
@@ -1,4 +1,4 @@
-BINDIR?=/usr/sbin
+BINDIR?= /service
 MAN?=
 
 LDADD+= -lminlib -lcompat_minix
index cc8cc2a9d50c05291470ea86377b0e9d883c11ce..9af54d4afb87763b3078304004b0728b9306b5ee 100644 (file)
@@ -1,4 +1,4 @@
-BINDIR?=/usr/sbin
+BINDIR?= /service
 MAN?=
 
 DPADD+= ${LIBAUDIODRIVER} ${LIBCHARDRIVER} ${LIBSYS} ${LIBMINLIB}
index a7f79249e46bc121cd42fffd450a26737ebc4e45..f8031831e94e662d5379e42895c6a91b52db403f 100644 (file)
@@ -9,4 +9,4 @@ Needs updating:
 sb16/              SB16 ISA driver
 
 Running the drivers:
-* service up /usr/sbin/es137{0,1} -dev /dev/audio
+* service up /service/es137{0,1} -dev /dev/audio
index 08e62a23188127ace6d1a76ce9877c4e3a394696..7ab8dd2c77fe14afad4d00699be0cc89cf7aa586 100644 (file)
@@ -11,8 +11,8 @@ Installation instructions SB16 driver Minix >= 3.0.7
 (default 7 and 220)
 - make install
 - MAKEDEV /dev/audio (if /dev/audio doesn't allready exist)
-- service up /usr/sbin/sb16_dsp -dev /dev/audio
-- service up /usr/sbin/sb16_mixer -dev /dev/mixer
+- service up /service/sb16_dsp -dev /dev/audio
+- service up /service/sb16_mixer -dev /dev/mixer
 done... (you can include the last 2 lines in /usr/etc/rc)
 
 
index e9a69de305d5c7e35df7501f954dcc9412c8dbe9..a1ab83777cfbdaa56914aac94792da8374b0a6b2 100644 (file)
@@ -33,9 +33,9 @@ cd /dev && MAKEDEV i2c-1 && MAKEDEV i2c-2 && MAKEDEV i2c-3
 
 Starting up the instances:
 
-/bin/service up /usr/sbin/i2c -dev /dev/i2c-1 -label i2c.1 -args instance=1
-/bin/service up /usr/sbin/i2c -dev /dev/i2c-2 -label i2c.2 -args instance=2
-/bin/service up /usr/sbin/i2c -dev /dev/i2c-3 -label i2c.3 -args instance=3
+/bin/service up /service/i2c -dev /dev/i2c-1 -label i2c.1 -args instance=1
+/bin/service up /service/i2c -dev /dev/i2c-2 -label i2c.2 -args instance=2
+/bin/service up /service/i2c -dev /dev/i2c-3 -label i2c.3 -args instance=3
 
 There is an i2cscan program from NetBSD which can detect devices on the bus:
 
index 01b5f23410c841bf51e05b95e22841fb657be42a..969f178b2c0c29b46cbfcd21ee0d0ad3e1392d90 100644 (file)
@@ -1 +1,3 @@
+BINDIR?= /service
+
 .include "../Makefile.inc"
index 1d2f731710d142d98cac70aca9cf79c077d958fa..cb7351d6ca723fb4d18549b92706dd5256763c50 100644 (file)
@@ -1,17 +1,12 @@
 # Makefile for readclock 'driver'
 PROG=  readclock.drv
+SRCS+= readclock.c forward.c forward.h
 
 .include "arch/${MACHINE_ARCH}/Makefile.inc"
 
-SRCS+= readclock.c forward.c forward.h
-
 DPADD+= ${LIBSYS} ${LIBTIMERS}
 LDADD+= -lsys -ltimers
 
-MAN=
-
-BINDIR?= /sbin
-
 CPPFLAGS+= -D_SYSTEM=1 -I${.CURDIR}
 
 .include <minix.service.mk>
index 0ec53259fba87c10d3da26edb27b65677708073c..712498d19d45c1523e345d7f4b4f4e8f60b7be11 100644 (file)
@@ -12,5 +12,5 @@ Testing the Code
 
 Starting up an instance:
 
-/bin/service up /usr/sbin/cat24c256 -dev /dev/eepromb1s50 -label cat24c256.1.50 -args 'bus=1 address=0x50'
+/bin/service up /service/cat24c256 -dev /dev/eepromb1s50 -label cat24c256.1.50 -args 'bus=1 address=0x50'
 
index f964367b77aef437975219323d73aa1b5502808e..edcfb86ece0de2e6ab00934a005d3948819b704b 100644 (file)
@@ -5,8 +5,4 @@ SRCS=   pckbd.c table.c
 DPADD+=        ${LIBINPUTDRIVER} ${LIBSYS} ${LIBTIMERS}
 LDADD+=        -linputdriver -lsys -ltimers
 
-MAN=
-
-BINDIR?= /sbin
-
 .include <minix.service.mk>
index e80b1e45b7c2d39ef4998582ea0a33bf6b537bb7..b72b5d8857a3b4a0729d40a126f56e36f680477c 100644 (file)
@@ -28,7 +28,7 @@ Testing the Code
 
 Starting up an instance:
 
-/bin/service up /usr/sbin/tps65950 -label tps65950.1.48 \
+/bin/service up /service/tps65950 -label tps65950.1.48 \
        -args 'bus=1 address=0x48'
 
 Killing an instance:
index d6d0cc31713c592d0c61055af11955ef065b555a..5d06460572d04b120a1c965af3499c0e7adebe62 100644 (file)
@@ -50,7 +50,7 @@ The driver should have been started by a script in /etc/rc.capes/ If not,
 this is how you start up an instance:
 
 cd /dev && MAKEDEV bmp085b3s77
-/bin/service up /usr/sbin/bmp085 -label bmp085.3.77 -dev /dev/bmp085b3s77 \
+/bin/service up /service/bmp085 -label bmp085.3.77 -dev /dev/bmp085b3s77 \
        -args 'bus=3 address=0x77'
 
 Getting the sensor value:
index fd3cba3051fb49424d68c7105d5814007b354509..41df519ab68779fee28fb4d4a5ab4ac7207b45e8 100644 (file)
@@ -54,7 +54,7 @@ The driver should have been started by a script in /etc/rc.capes/ If not,
 this is how you start up an instance:
 
 cd /dev && MAKEDEV sht21b3s40
-/bin/service up /usr/sbin/sht21 -label sht21.3.40 -dev /dev/sht21b3s40 \
+/bin/service up /service/sht21 -label sht21.3.40 -dev /dev/sht21b3s40 \
        -args 'bus=3 address=0x40'
 
 Getting the sensor value:
index a7bb7576f5966ccc3f90ddf1a42b22395652b13e..5244feb8fbe7d214b05f6ece82c6ea3e269f0562 100644 (file)
@@ -33,7 +33,7 @@ The driver should have been started by a script in /etc/rc.capes/ If not,
 this is how you start up an instance:
 
 cd /dev && MAKEDEV tsl2550b3s39
-/bin/service up /usr/sbin/tsl2550 -label tsl2550.3.39 -dev /dev/tsl2550b3s39 \
+/bin/service up /service/tsl2550 -label tsl2550.3.39 -dev /dev/tsl2550b3s39 \
        -args 'bus=3 address=0x39'
 
 Getting the sensor value:
index 058962dd78076bdfe38ba52a4380be24cc835b76..6876159137e653ca0a8c583b47057f110f8ddd83 100644 (file)
@@ -5,8 +5,4 @@ SRCS=   ahci.c
 DPADD+=        ${LIBBLOCKDRIVER} ${LIBSYS} ${LIBTIMERS} ${LIBMTHREAD}
 LDADD+=        -lblockdriver -lsys -ltimers -lmthread
 
-MAN=
-
-BINDIR?= /sbin
-
 .include <minix.service.mk>
index 19556a45e7ee8d10a403d7c5744e748b912128dc..ecdb9023f2a229df80c8ed9e4d357b9e1ac1dae1 100644 (file)
@@ -5,8 +5,4 @@ SRCS=   at_wini.c liveupdate.c
 DPADD+=        ${LIBBLOCKDRIVER} ${LIBSYS} ${LIBTIMERS}
 LDADD+=        -lblockdriver -lsys -ltimers
 
-MAN=
-
-BINDIR?= /sbin
-
 .include <minix.service.mk>
index 99b180ccc232fe602e482767e3c7bfc10d48f4de..a1e8b03b637e7c207bfe9a6b5b2e90c79b340528 100644 (file)
@@ -5,8 +5,4 @@ SRCS=   floppy.c liveupdate.c
 DPADD+=        ${LIBBLOCKDRIVER} ${LIBSYS} ${LIBTIMERS}
 LDADD+=        -lblockdriver -lsys -ltimers
 
-MAN=
-
-BINDIR?= /sbin
-
 .include <minix.service.mk>
index a3bcb171b3e0c017812322943154368ff73407ea..4d429ac4dcb7709410c456832236806573e3a675 100644 (file)
@@ -97,7 +97,7 @@ apply_env()
         * log_level=[0-4] (NONE,WARN,INFO,DEBUG,TRACE) instance=[0-3]
         * instance/bus number to use for this driver Passing these arguments
         * is done when starting the driver using the service command in the
-        * following way service up /sbin/mmc -args "log_level=2 instance=1
+        * following way service up /service/mmc -args "log_level=2 instance=1
         * driver=dummy" -dev /dev/c2d0 */
        char driver[16];
        memset(driver, '\0', 16);
index 2dbc2c3defb37ffabd2deb085360c81821fc62c7..b78f2d2ad5ea214053cef35a2a1f8abc18b67b66 100644 (file)
@@ -15,7 +15,7 @@ d--755 0 0
                sh ---755 0 0 sh
                service ---755 0 0 service
        $
-       sbin d--755 0 0
+       service d--755 0 0
 #ifdef __i386__
                floppy ---755 0 0 floppy
                ahci ---755 0 0 ahci
@@ -32,18 +32,16 @@ d--755 0 0
                mfs ---755 0 0 mfs
                procfs ---755 0 0 procfs
                input ---755 0 0 input
-       $
-       usr d--755 0 0
-               bin d--755 0 0
-                       loadramdisk ---755 0 0 loadramdisk
-               $
-               sbin d--755 0 0
 #ifdef __i386__
 #if RAMDISK_INC_ACPI == 1
-                       acpi ---755 0 0 acpi
+               acpi ---755 0 0 acpi
 #endif
-                       pci ---755 0 0 pci
+               pci ---755 0 0 pci
 #endif
+       $
+       usr d--755 0 0
+               bin d--755 0 0
+                       loadramdisk ---755 0 0 loadramdisk
                $
        $
        proc d--755 0 0
index b9bfabbc59c7c8dbc29ee105b2f229d5101227d2..94a17e5dfd0ceea54eb8a9b4bc4217059089e56a 100644 (file)
@@ -6,17 +6,17 @@ exec 2>/dev/log
 exec </dev/null
 
 FSCK=/bin/fsck_mfs
-ACPI=/usr/sbin/acpi
+ACPI=/service/acpi
 
 if [ X`/bin/sysenv arch` = Xi386 ]
 then   if [ -e $ACPI -a -n "`sysenv acpi`" ]
        then
                /bin/service -c up $ACPI
        fi
-       /bin/service -c up /usr/sbin/pci
+       /bin/service -c up /service/pci
 
-       /bin/service -c up /sbin/input -dev /dev/kbdmux
-       /bin/service -c up /sbin/pckbd
+       /bin/service -c up /service/input -dev /dev/kbdmux
+       /bin/service -c up /service/pckbd
 
        # Start procfs so we can access /proc/pci
        mount -t procfs none /proc >/dev/null
@@ -30,27 +30,27 @@ then        if [ -e $ACPI -a -n "`sysenv acpi`" ]
                virtio_blk=yes
         fi
 
-       /bin/service -cn up /sbin/floppy -dev /dev/fd0
+       /bin/service -cn up /service/floppy -dev /dev/fd0
        if [ X`/bin/sysenv ahci` = Xyes ]
        then
                # this is here temporarily, for testing purposes
-               /bin/service -c up /sbin/ahci -dev /dev/c0d0 -label ahci_0 -args instance=0
+               /bin/service -c up /service/ahci -dev /dev/c0d0 -label ahci_0 -args instance=0
        elif [ X"$virtio_blk" = Xyes ]
        then
-               /bin/service -c up /sbin/virtio_blk -dev /dev/c0d0 -label virtio_blk_0 -args instance=0
+               /bin/service -c up /service/virtio_blk -dev /dev/c0d0 -label virtio_blk_0 -args instance=0
        else
-               /bin/service -c up /sbin/at_wini -dev /dev/c0d0 -label at_wini_0
-               /bin/service -cr up /sbin/at_wini -dev /dev/c1d0 -label at_wini_1 -args instance=1 2>/dev/null || :
+               /bin/service -c up /service/at_wini -dev /dev/c0d0 -label at_wini_0
+               /bin/service -cr up /service/at_wini -dev /dev/c1d0 -label at_wini_1 -args instance=1 2>/dev/null || :
        fi
        /bin/umount /proc >/dev/null
 fi
 
 if [ X`/bin/sysenv arch` = Xearm ]
 then   echo Starting the mmc driver
-       /bin/service -c up /sbin/mmc -dev /dev/c0d0
+       /bin/service -c up /service/mmc -dev /dev/c0d0
 fi
 
-/bin/service up /sbin/procfs || echo "WARNING: couldn't start procfs"
+/bin/service up /service/procfs || echo "WARNING: couldn't start procfs"
 
 if /bin/sysenv rootdevname >/dev/null
 then   rootdevname=/dev/`/bin/sysenv rootdevname`
index 95171fce5ed88934b2d55d4fca74f43316fb7615..849c54a18696762c4a4eb4006957ac5dede5d25f 100644 (file)
@@ -5,8 +5,4 @@ SRCS=   virtio_blk.c
 DPADD+=        ${LIBBLOCKDRIVER} ${LIBSYS} ${LIBMTHREAD} ${LIBVIRTIO}
 LDADD+=        -lblockdriver -lsys -lmthread -lvirtio
 
-MAN=
-
-BINDIR?= /sbin
-
 .include <minix.service.mk>
index 2b3d832b6869c3395f68f7c0031b1309903e6054..6ebe8007069d039272205a132c1894a1710cf913 100644 (file)
@@ -5,12 +5,7 @@ SRCS=  gpio.c
 DPADD+=        ${LIBBLOCKDRIVER} ${LIBSYS} ${LIBGPIO} ${LIBCLKCONF}
 LDADD+=        -lvtreefs -lsys -lgpio -lclkconf
 
-#
 # This is a system driver.
 CPPFLAGS+= -D_SYSTEM=1
 
-MAN=
-
-BINDIR?= /sbin
-
 .include <minix.service.mk>
index e7babf6a1c1e314f63e74e1ef893315a858c854c..59425a2c59ea1ded0ba7dd2f0631f24332d585c6 100644 (file)
@@ -3,7 +3,7 @@
 PROG=          usbd
 SRCS=          usbd.c usbd_earm.c hcd.c hcd_common.c hcd_ddekit.c musb_am335x.c musb_core.c
 MAN=
-BINDIR=                /usr/sbin
+BINDIR=                /service
 
 .PATH:         ${.CURDIR}/../ ${.CURDIR}/../../hcd ${.CURDIR}/../../hcd/musb
 
index 838901b824322392afbeda81143e2a16b457f405..f51b227b186c40b32b84cdb4974c543b9c8bade4 100644 (file)
@@ -12,7 +12,7 @@ Testing the Code
 
 Starting up an instance:
 
-service up /usr/sbin/fb -dev /dev/fb0 -args edid.0=cat24c256.3.50
+service up /service/fb -dev /dev/fb0 -args edid.0=cat24c256.3.50
 
 The arguments take the following form:
 
index 7b47e66a4ab35722aa9a0d73e2cff7e8f508a872..60c1330540b37e1fee32418fce39153120660914 100644 (file)
@@ -52,7 +52,7 @@ Testing the Code
 
 Starting up an instance:
 
-/bin/service up /usr/sbin/tda19988 -label tda19988.1.3470 \
+/bin/service up /service/tda19988 -label tda19988.1.3470 \
        -args 'cec_bus=1 cec_address=0x34 hdmi_bus=1 hdmi_address=0x70'
 
 Killing an instance:
@@ -67,7 +67,7 @@ device file to read the EDID like this:
 cd /dev
 mknod tda19988 b 32 0
 chmod 600 tda19988
-/bin/service up /usr/sbin/tda19988 -label tda19988.1.3470 \
+/bin/service up /service/tda19988 -label tda19988.1.3470 \
        -dev /dev/tda19988 \
        -args 'cec_bus=1 cec_address=0x34 hdmi_bus=1 hdmi_address=0x70'
 dd if=/dev/tda19988 of=/root/edid.dat count=1 bs=128
index 5c329c729f942d8f1eb629e65e0d55a67d77563f..c90ad6ae7c4f2d32512494688b5fdef305fd7dce 100644 (file)
@@ -1,4 +1,4 @@
-BINDIR?=/usr/sbin
+BINDIR?= /service
 MAN?=
 
 LDADD+= -lminlib -lcompat_minix
index d1473d62c03ab39542e3f12c75aaf42ece50dcdb..44f289c303d945f14bfeabdfc93875e10b6046c0 100644 (file)
@@ -10,9 +10,4 @@ LDADD+= -lminixfs -lbdev -lsys -lminlib
 
 WARNS=3
 
-MAN=
-
-BINDIR?= /sbin
-CFLAGS+= -Wall -Wextra
-
 .include <minix.service.mk>
index 534e3008759dfc7457949cc4462fe976f3cf587e..5fb1d30007a93cdc6ba8044da43a4bc281dc3f08 100644 (file)
@@ -5,8 +5,4 @@ SRCS=   hgfs.c
 DPADD+=        ${LIBSFFS} ${LIBHGFS} ${LIBSYS}
 LDADD+=        -lsffs -lhgfs -lsys
 
-MAN=
-
-BINDIR?= /sbin
-
 .include <minix.service.mk>
index b90c382309b6a8afbe1bca916bf06825f3a033f3..ecdc7c568d717ea05994c1280456843039f99e71 100644 (file)
@@ -6,11 +6,6 @@ SRCS=  main.c table.c mount.c super.c inode.c \
 DPADD+=        ${LIBBDEV} ${LIBSYS} ${LIBMINLIB}
 LDADD+=        -lbdev -lsys -lc -lminixfs -lminlib
 
-MAN=
-
-BINDIR?= /sbin
-
-NR_BUFS= 100
-CPPFLAGS+= -DNR_BUFS=${NR_BUFS}
+CPPFLAGS+= -DNR_BUFS=100
 
 .include <minix.service.mk>
index 1371c697da72da2e42b9c22ab82e89a696fdfa93..7c0195bb2368d241b7b1f8841364d0b758e2d1ba 100644 (file)
@@ -8,11 +8,6 @@ SRCS=  cache.c link.c \
 DPADD+=        ${LIBMINIXFS} ${LIBBDEV} ${LIBSYS}
 LDADD+= -lminixfs -lbdev -lsys
 
-MAN=
-
-BINDIR?= /sbin
-
-DEFAULT_NR_BUFS= 1024
-CPPFLAGS+= -DDEFAULT_NR_BUFS=${DEFAULT_NR_BUFS}
+CPPFLAGS+= -DDEFAULT_NR_BUFS=1024
 
 .include <minix.service.mk>
index 4e9380bf67ea4705ac87f6537bccf64ae667cbba..48619fee0223c9bb5010c056f04d9c8c017078f4 100644 (file)
@@ -8,8 +8,4 @@ LDADD+= -lchardriver -lsys
 
 LDADD+= -lc
 
-MAN=
-
-BINDIR?= /usr/sbin
-
 .include <minix.service.mk>
index 26acea459c0327a124cf1064de50f505e967b046..8f18ef2053cff1b5af9d3c77b9031691bb9ba892 100644 (file)
@@ -1,6 +1,4 @@
 # Makefile for ProcFS server
-#
-
 .include <bsd.own.mk>
 
 PROG=  procfs
@@ -13,8 +11,4 @@ CPPFLAGS+= -I${NETBSDSRCDIR}/minix/servers
 DPADD+=        ${LIBVTREEFS} ${LIBMINLIB}
 LDADD+=        -lvtreefs -lminlib
 
-MAN=
-
-BINDIR?= /sbin
-
 .include <minix.service.mk>
index fd4153fe76f281046ce5e59495b5e8e1e69c63d5..90e0f0a0ed8be03e9fbfa0b63428d9cfb9f449ec 100644 (file)
@@ -5,8 +5,4 @@ SRCS=   vbfs.c
 DPADD+=        ${LIBSFFS} ${LIBVBOXFS} ${LIBSYS}
 LDADD+=        -lsffs -lvboxfs -lsys
 
-MAN=
-
-BINDIR?= /sbin
-
 .include <minix.service.mk>
index 357a4ac36c3b7cd20817ea5bd6c2ce5698a83698..bb473a64f966ded5bb83a8ceac8e8cab73a75daa 100644 (file)
@@ -15,7 +15,7 @@
 
 #define _PATH_RAMDISK  "/dev/ram"
 
-#define _PATH_DRIVERS  "/usr/sbin"
+#define _PATH_DRIVERS  "/service"
 
 #define        _PATH_SERVACCES "/etc/serv.access"
 
index 6e2703d46b91b30045e9b7825bf6fa8146cb4b3a..1a05e3daf3f974debe25ccab85ca05f71fe1eb84 100644 (file)
@@ -15,7 +15,7 @@
 
 #define FSDEFAULT "mfs"
 
-static char fspath[] = "/sbin/:/usr/pkg/bin/"; /* Must include trailing '/' */
+static char fspath[] = "/service/:/usr/pkg/service/"; /* Must include trailing '/' */
 
 static int rs_down(char *label)
 {
index 5c329c729f942d8f1eb629e65e0d55a67d77563f..c90ad6ae7c4f2d32512494688b5fdef305fd7dce 100644 (file)
@@ -1,4 +1,4 @@
-BINDIR?=/usr/sbin
+BINDIR?= /service
 MAN?=
 
 LDADD+= -lminlib -lcompat_minix
index 86c4d21a5e8b8e62d7991792d896b7fbe7ba8624..c90ad6ae7c4f2d32512494688b5fdef305fd7dce 100644 (file)
@@ -1,4 +1,5 @@
-BINDIR?=/usr/sbin
+BINDIR?= /service
+MAN?=
 
 LDADD+= -lminlib -lcompat_minix
 DPADD+= ${LIBMINLIB} ${LIBCOMPAT_MINIX}
index aed72d44c09adee34c22e745fd400471e7ca92dc..02186db08d4ddac4e27d4c08c4d6b09c598b13b9 100644 (file)
@@ -1,11 +1,7 @@
 PROG = devman
-
 SRCS =  main.c device.c buf.c bind.c
 
-
 DPADD+=        ${LIBSYS} ${LIBMINLIB}
 LDADD =  -lvtreefs -lsys -lminlib
-BINDIR?= /sbin
 
-MAN=
 .include <minix.service.mk>
index c7cad6605710de1bab228033b9f2fb9e19c8eee4..6619f54487d87c642e32b7c85d67e304aa93d25e 100644 (file)
@@ -5,8 +5,4 @@ SRCS=   main.c store.c
 DPADD+=        ${LIBSYS}
 LDADD+=        -lsys
 
-MAN=
-
-BINDIR?= /usr/sbin
-
 .include <minix.service.mk>
index 1924000635166dedbb59c1dd7a313d2f2c835d80..02b38de01443b158e844f8b04fcabe4582d17c73 100644 (file)
@@ -6,9 +6,5 @@ SRCS=   input.c
 DPADD+=        ${LIBCHARDRIVER} ${LIBSYS}
 LDADD+=        -lchardriver -lsys
 
-MAN=
-
-BINDIR?= /sbin
-
 .include <minix.service.mk>
 
index ccda5f1ca67d5e74fa4bafdeb3b813cd9af9d5b9..e26053c50232ac87ebe1e6e63af84b72e69c301a 100644 (file)
@@ -5,9 +5,6 @@ SRCS=   main.c utility.c shm.c sem.c
 DPADD+=        ${LIBSYS}
 LDADD+=        -lsys
 
-MAN=
-
-BINDIR?= /usr/sbin
 FILES=ipc.conf
 FILESNAME=ipc
 FILESDIR= /etc/system.conf.d
index 74dd9cf44640dc093cf8ef0406a0005a22838459..38644bf2df41f41d418b3b58332b7a153d312bdf 100644 (file)
@@ -1,6 +1,4 @@
 # Makefile for Information Server (IS)
-#
-
 .include <bsd.own.mk>
 
 PROG=  is
@@ -9,10 +7,6 @@ SRCS=  main.c dmp.c dmp_kernel.c dmp_pm.c dmp_fs.c dmp_rs.c dmp_ds.c dmp_vm.c
 DPADD+=        ${LIBSYS}
 LDADD+=        -lsys
 
-MAN=
-
-BINDIR?= /sbin
-
 CPPFLAGS.dmp_fs.c+=    -I${NETBSDSRCDIR}/minix/servers \
                        -I${NETBSDSRCDIR}/minix/fs
 CPPFLAGS.dmp_kernel.c+=        -I${NETBSDSRCDIR}/minix
index 7d4fe60ea037ac60c0f98348fb298f683b050fd8..75f4c540e8f67653c1d1406719863f7254fd20b2 100644 (file)
@@ -9,10 +9,6 @@ SRCS=  main.c forkexit.c exec.c time.c alarm.c \
 DPADD+=        ${LIBSYS} ${LIBTIMERS}
 LDADD+=        -lsys -ltimers
 
-MAN=
-
-BINDIR?= /usr/sbin
-
 CPPFLAGS.main.c+=      -I${NETBSDSRCDIR}/minix
 CPPFLAGS.misc.c+=      -I${NETBSDSRCDIR}/minix
 CPPFLAGS.schedule.c+=  -I${NETBSDSRCDIR}/minix
index 4fcd87852fb2e9b21a60b082cf2fb2fda7d3371f..eaac5e404b3f1fb7994e16867401021a40bf5dd4 100644 (file)
@@ -11,10 +11,6 @@ CPPFLAGS+= -DUSE_PCI
 DPADD+=        ${LIBSYS} ${LIBEXEC}
 LDADD+=        -lsys -lexec
 
-MAN=
-
-BINDIR?= /usr/sbin
-
 CPPFLAGS+=     -I${NETBSDSRCDIR}/minix
 
 .include <minix.service.mk>
index f5f53df579b1edd8a0f4f350ca61544a1c85e5ff..4202ecd9a9e2e15d3b6b3f5f54b5c6a3b5ff5974 100644 (file)
@@ -5,10 +5,6 @@ SRCS=  main.c schedule.c utility.c
 DPADD+=        ${LIBSYS} ${LIBTIMERS}
 LDADD+=        -lsys -ltimers
 
-MAN=
-
-BINDIR?= /usr/sbin
-
 CPPFLAGS.main.c+=      -I${NETBSDSRCDIR}/minix
 CPPFLAGS.schedule.c+=  -I${NETBSDSRCDIR}/minix
 CPPFLAGS.utility.c+=   -I${NETBSDSRCDIR}/minix
index b1255ec85195a84267c430a4948d9b60b9bb2e20..76a22a4bab7bfe05ccfe66a9b54c3cc3ad6fffb3 100644 (file)
@@ -18,8 +18,4 @@ CFLAGS+= -Wall -Wextra -Wno-sign-compare -Werror
 DPADD+=        ${LIBSYS} ${LIBTIMERS} ${LIBEXEC}
 LDADD+=        -lsys -ltimers -lexec -lmthread
 
-MAN=
-
-BINDIR?= /usr/sbin
-
 .include <minix.service.mk>
index c084a068f01e46d053e3660eb724e3d5124e0565..b79f217413787a0fcbc2e638f927fdd6cf308556 100644 (file)
@@ -15,12 +15,6 @@ LDFLAGS+= -T ${.CURDIR}/arch/${MACHINE_ARCH}/vm.lds
 DPADD+=        ${LIBSYS} ${LIBEXEC}
 LDADD+=        -lsys -lexec
 
-WARNS=5
-
-MAN=
-
-BINDIR?= /usr/sbin
-
 CPPFLAGS+= -I${.CURDIR} -I${.CURDIR}/arch/${MACHINE_ARCH}
 CPPFLAGS+= -I${NETBSDSRCDIR}/minix
 
index 304caf0968f689de615a01c784973ac7f04d0528..0d2c79553d3e500374f4e9ac34586b80f616e93b 100755 (executable)
@@ -82,7 +82,7 @@ read_test() {
   EXP=$2
   shift 2
   $RWBLOCKS $DEV $PAT
-  service up /usr/sbin/fbd -dev /dev/fbd -args "$PAIR" || exit 1
+  service up /service/fbd -dev /dev/fbd -args "$PAIR" || exit 1
   fbdctl add $@ >/dev/null
   #fbdctl list
   RES="`$RWBLOCKS /dev/fbd`"
@@ -115,7 +115,7 @@ write_test() {
   WS=$3
   shift 3
   $RWBLOCKS $DEV UUUUUUUUUUUUUUUU
-  service up /usr/sbin/fbd -dev /dev/fbd -args "$PAIR" || exit 1
+  service up /service/fbd -dev /dev/fbd -args "$PAIR" || exit 1
   fbdctl add $@ >/dev/null
   #fbdctl list
   $RWBLOCKS /dev/fbd $PAT $WS