mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
21 lines
597 B
Bash
Executable File
21 lines
597 B
Bash
Executable File
#!/bin/sh
|
|
|
|
. config/options $1
|
|
|
|
add_user rpcuser x 29 29 "RPC Service User" "/var/lib/nfs" "/bin/sh"
|
|
add_group rpcuser 29
|
|
|
|
mkdir -p $INSTALL/sbin
|
|
cp $PKG_BUILD/utils/mount/mount.nfs $INSTALL/sbin/
|
|
ln -sf mount.nfs $INSTALL/sbin/mount.nfs4
|
|
ln -sf mount.nfs $INSTALL/sbin/umount.nfs
|
|
ln -sf mount.nfs $INSTALL/sbin/umount.nfs4
|
|
|
|
mkdir -p $INSTALL/usr/sbin
|
|
cp $PKG_BUILD/utils/statd/statd $INSTALL/usr/sbin/rpc.statd
|
|
cp $PKG_BUILD/utils/statd/start-statd $INSTALL/usr/sbin/
|
|
chmod +x $INSTALL/usr/sbin/start-statd
|
|
|
|
mkdir -p $INSTALL/etc
|
|
cp $PKG_DIR/config/protocols $INSTALL/etc
|