Rework services
This commit is contained in:
parent
9ac3c8b0bc
commit
e361163d29
|
@ -1,7 +1,7 @@
|
|||
# Contributor: Alex Denes <caskd@redxen.eu>
|
||||
# Maintainer: Alex Denes <caskd@redxen.eu>
|
||||
pkgname=nnd-s6-services
|
||||
pkgver=0.37
|
||||
pkgver=0.45
|
||||
pkgrel=0
|
||||
pkgdesc="Base services for s6"
|
||||
url="none"
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
0
|
|
@ -0,0 +1 @@
|
|||
nnd-localhost
|
|
@ -0,0 +1 @@
|
|||
20
|
|
@ -0,0 +1 @@
|
|||
1000000
|
|
@ -0,0 +1 @@
|
|||
20
|
|
@ -0,0 +1 @@
|
|||
1000000
|
|
@ -0,0 +1 @@
|
|||
20
|
|
@ -0,0 +1 @@
|
|||
1000000
|
|
@ -0,0 +1 @@
|
|||
vfat
|
|
@ -0,0 +1 @@
|
|||
rw
|
|
@ -0,0 +1 @@
|
|||
LABEL=nnd-boot-efi
|
|
@ -0,0 +1 @@
|
|||
ext4
|
|
@ -0,0 +1 @@
|
|||
rw
|
|
@ -0,0 +1 @@
|
|||
LABEL=nnd-boot
|
|
@ -0,0 +1 @@
|
|||
nosuid,noexec,nodev
|
|
@ -0,0 +1 @@
|
|||
nosuid,noexec,mode=620,ptmxmode=000
|
|
@ -0,0 +1 @@
|
|||
nosuid,noexec,nodev,inode64
|
|
@ -0,0 +1 @@
|
|||
nosuid,noexec,size=10240k,nr_inodes=2028666,mode=755,inode64
|
|
@ -0,0 +1 @@
|
|||
nosuid,nodev,noexec,hidepid=2
|
|
@ -0,0 +1 @@
|
|||
btrfs
|
|
@ -0,0 +1 @@
|
|||
remount,rw
|
|
@ -0,0 +1 @@
|
|||
none
|
|
@ -0,0 +1 @@
|
|||
nodev,nosuid,size=3259832k,nr_inodes=819200,mode=755,inode64
|
|
@ -0,0 +1 @@
|
|||
nosuid,nodev,noexec
|
|
@ -0,0 +1 @@
|
|||
nosuid,nodev,noexec
|
|
@ -0,0 +1 @@
|
|||
nosuid,nodev,noexec
|
|
@ -0,0 +1 @@
|
|||
nosuid,nodev,noexec
|
|
@ -0,0 +1 @@
|
|||
nodev,nosuid
|
|
@ -0,0 +1 @@
|
|||
20
|
|
@ -0,0 +1 @@
|
|||
1000000
|
|
@ -0,0 +1 @@
|
|||
20
|
|
@ -0,0 +1 @@
|
|||
1000000
|
|
@ -0,0 +1 @@
|
|||
20
|
|
@ -0,0 +1 @@
|
|||
1000000
|
|
@ -0,0 +1 @@
|
|||
172.22.12.1/32
|
|
@ -0,0 +1 @@
|
|||
fd42:42:42::2:1/128
|
|
@ -0,0 +1 @@
|
|||
172.22.12.0/24
|
|
@ -0,0 +1 @@
|
|||
fd42:42:42::2:0/120
|
|
@ -0,0 +1 @@
|
|||
/etc/wireguard/wg-tunnel
|
|
@ -0,0 +1 @@
|
|||
20
|
|
@ -0,0 +1 @@
|
|||
1000000
|
|
@ -1,5 +1,5 @@
|
|||
#!/bin/execlineb -P
|
||||
s6-envdir -i /etc/s6/env/core/path
|
||||
s6-envdir -i /etc/s6/env/path
|
||||
importas -i PATH PATH
|
||||
emptyenv
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/bin/execlineb -P
|
||||
s6-envdir -i /etc/s6/env/core/path
|
||||
s6-envdir -i /etc/s6/env/path
|
||||
importas -i PATH PATH
|
||||
emptyenv
|
||||
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#!/bin/execlineb -P
|
||||
s6-envdir -i /etc/s6/env/core/path
|
||||
s6-envdir -i /etc/s6/env/path
|
||||
importas -i PATH PATH
|
||||
s6-envdir -i /etc/s6/env/core/getty.tty1
|
||||
importas -i BAUD BAUD
|
||||
emptyenv
|
||||
|
||||
export PATH $PATH
|
||||
define BAUD 0
|
||||
define TTY tty1
|
||||
|
||||
fdclose 1
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
localhost
|
|
@ -1,9 +1,10 @@
|
|||
#!/bin/execlineb -P
|
||||
s6-envdir -i /etc/s6/env/core/path
|
||||
s6-envdir -i /etc/s6/env/path
|
||||
importas -i PATH PATH
|
||||
s6-envdir -i /etc/s6/env/core/hostname
|
||||
importas -i HOSTNAME HOSTNAME
|
||||
emptyenv
|
||||
|
||||
define HOSTNAME localhost
|
||||
export PATH $PATH
|
||||
|
||||
fdclose 1
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/bin/execlineb -P
|
||||
s6-envdir -i /etc/s6/env/core/path
|
||||
s6-envdir -i /etc/s6/env/path
|
||||
importas -i PATH PATH
|
||||
emptyenv
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/bin/execlineb -P
|
||||
s6-envdir -i /etc/s6/env/core/path
|
||||
s6-envdir -i /etc/s6/env/path
|
||||
importas -i PATH PATH
|
||||
emptyenv
|
||||
|
||||
|
|
|
@ -1,13 +1,17 @@
|
|||
#!/bin/execlineb -P
|
||||
s6-envdir -i /etc/s6/env/core/path
|
||||
s6-envdir -i /etc/s6/env/path
|
||||
importas -i PATH PATH
|
||||
s6-envdir /etc/s6/env/core/logger
|
||||
|
||||
s6-envdir -i /etc/s6/env/logger
|
||||
importas -i LOGPREFIX LOGPREFIX
|
||||
|
||||
s6-envdir -I /etc/s6/env/core/logger.klogd
|
||||
importas -i LOGSIZE LOGSIZE
|
||||
importas -i LOGARCHIVES LOGARCHIVES
|
||||
|
||||
emptyenv
|
||||
|
||||
export PATH $PATH
|
||||
define LOGGERNAME klogd
|
||||
define LOGSIZE 1000000
|
||||
define LOGARCHIVES 20
|
||||
|
||||
s6-log -d3 -- t s${LOGSIZE} n${LOGARCHIVES} ${LOGPREFIX}/${LOGGERNAME}
|
||||
|
|
|
@ -1,13 +1,17 @@
|
|||
#!/bin/execlineb -P
|
||||
s6-envdir -i /etc/s6/env/core/path
|
||||
s6-envdir -i /etc/s6/env/path
|
||||
importas -i PATH PATH
|
||||
s6-envdir /etc/s6/env/core/logger
|
||||
|
||||
s6-envdir -i /etc/s6/env/logger
|
||||
importas -i LOGPREFIX LOGPREFIX
|
||||
|
||||
s6-envdir -I /etc/s6/env/core/logger.mdevd
|
||||
importas -i LOGSIZE LOGSIZE
|
||||
importas -i LOGARCHIVES LOGARCHIVES
|
||||
|
||||
emptyenv
|
||||
|
||||
export PATH $PATH
|
||||
define LOGGERNAME mdevd
|
||||
define LOGSIZE 1000000
|
||||
define LOGARCHIVES 20
|
||||
|
||||
s6-log -d3 -- t s${LOGSIZE} n${LOGARCHIVES} ${LOGPREFIX}/${LOGGERNAME}
|
||||
|
|
|
@ -1,13 +1,17 @@
|
|||
#!/bin/execlineb -P
|
||||
s6-envdir -i /etc/s6/env/core/path
|
||||
s6-envdir -i /etc/s6/env/path
|
||||
importas -i PATH PATH
|
||||
s6-envdir /etc/s6/env/core/logger
|
||||
|
||||
s6-envdir -i /etc/s6/env/logger
|
||||
importas -i LOGPREFIX LOGPREFIX
|
||||
|
||||
s6-envdir -I /etc/s6/env/core/logger.syslogd
|
||||
importas -i LOGSIZE LOGSIZE
|
||||
importas -i LOGARCHIVES LOGARCHIVES
|
||||
|
||||
emptyenv
|
||||
|
||||
export PATH $PATH
|
||||
define LOGGERNAME syslogd
|
||||
define LOGSIZE 1000000
|
||||
define LOGARCHIVES 20
|
||||
|
||||
s6-log -d3 -- t s${LOGSIZE} n${LOGARCHIVES} ${LOGPREFIX}/${LOGGERNAME}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/bin/execlineb -P
|
||||
s6-envdir -i /etc/s6/env/core/path
|
||||
s6-envdir -i /etc/s6/env/path
|
||||
importas -i PATH PATH
|
||||
emptyenv
|
||||
|
||||
|
@ -8,4 +8,4 @@ export PATH $PATH
|
|||
fdclose 1
|
||||
fdclose 2
|
||||
|
||||
mdevd-coldplug
|
||||
exec mdevd-coldplug
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/bin/execlineb -P
|
||||
s6-envdir -i /etc/s6/env/core/path
|
||||
s6-envdir -i /etc/s6/env/path
|
||||
importas -i PATH PATH
|
||||
emptyenv
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/bin/execlineb -P
|
||||
s6-envdir -i /etc/s6/env/core/path
|
||||
s6-envdir -i /etc/s6/env/path
|
||||
importas -i PATH PATH
|
||||
emptyenv
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/bin/execlineb -P
|
||||
s6-envdir -i /etc/s6/env/core/path
|
||||
s6-envdir -i /etc/s6/env/path
|
||||
importas -i PATH PATH
|
||||
emptyenv
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/bin/execlineb -P
|
||||
s6-envdir -i /etc/s6/env/core/path
|
||||
s6-envdir -i /etc/s6/env/path
|
||||
importas -i PATH PATH
|
||||
emptyenv
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/bin/execlineb -P
|
||||
s6-envdir -i /etc/s6/env/core/path
|
||||
s6-envdir -i /etc/s6/env/path
|
||||
importas -i PATH PATH
|
||||
emptyenv
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/bin/execlineb -P
|
||||
s6-envdir -i /etc/s6/env/core/path
|
||||
s6-envdir -i /etc/s6/env/path
|
||||
importas -i PATH PATH
|
||||
emptyenv
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/bin/execlineb -P
|
||||
s6-envdir -i /etc/s6/env/core/path
|
||||
s6-envdir -i /etc/s6/env/path
|
||||
importas -i PATH PATH
|
||||
emptyenv
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/bin/execlineb -P
|
||||
s6-envdir -i /etc/s6/env/core/path
|
||||
s6-envdir -i /etc/s6/env/path
|
||||
importas -i PATH PATH
|
||||
emptyenv
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/bin/execlineb -P
|
||||
s6-envdir -i /etc/s6/env/core/path
|
||||
s6-envdir -i /etc/s6/env/path
|
||||
importas -i PATH PATH
|
||||
emptyenv
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/bin/execlineb -P
|
||||
s6-envdir -i /etc/s6/env/core/path
|
||||
s6-envdir -i /etc/s6/env/path
|
||||
importas -i PATH PATH
|
||||
emptyenv
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/bin/execlineb -P
|
||||
s6-envdir -i /etc/s6/env/core/path
|
||||
s6-envdir -i /etc/s6/env/path
|
||||
importas -i PATH PATH
|
||||
emptyenv
|
||||
|
||||
|
|
|
@ -0,0 +1,18 @@
|
|||
#!/bin/execlineb -P
|
||||
s6-envdir -i /etc/s6/env/path
|
||||
importas -i PATH PATH
|
||||
s6-envdir -i /etc/s6/env/core/mount.boot-efi
|
||||
importas -i SRC SRC
|
||||
importas -i FSTYPE FSTYPE
|
||||
importas -i OPTS OPTS
|
||||
emptyenv
|
||||
|
||||
export PATH $PATH
|
||||
define DEST /boot/efi
|
||||
|
||||
fdclose 1
|
||||
fdclose 2
|
||||
|
||||
foreground {
|
||||
mkdir -p $DEST
|
||||
} mount -t $FSTYPE -o $OPTS $SRC $DEST
|
|
@ -0,0 +1,18 @@
|
|||
#!/bin/execlineb -P
|
||||
s6-envdir -i /etc/s6/env/path
|
||||
importas -i PATH PATH
|
||||
s6-envdir -i /etc/s6/env/core/mount.boot
|
||||
importas -i SRC SRC
|
||||
importas -i FSTYPE FSTYPE
|
||||
importas -i OPTS OPTS
|
||||
emptyenv
|
||||
|
||||
export PATH $PATH
|
||||
define DEST /boot
|
||||
|
||||
fdclose 1
|
||||
fdclose 2
|
||||
|
||||
foreground {
|
||||
mkdir -p $DEST
|
||||
} mount -t $FSTYPE -o $OPTS $SRC $DEST
|
|
@ -1,18 +1,21 @@
|
|||
#!/bin/execlineb -P
|
||||
s6-envdir -i /etc/s6/env/core/path
|
||||
s6-envdir -i /etc/s6/env/path
|
||||
importas -i PATH PATH
|
||||
s6-envdir -i /etc/s6/env/core/mount.dev-mqueue
|
||||
importas -i OPTS OPTS
|
||||
emptyenv
|
||||
|
||||
export PATH $PATH
|
||||
define DEST /dev/mqueue
|
||||
define FSTYPE mqueue
|
||||
define OPTS nosuid,noexec,nodev
|
||||
|
||||
fdclose 1
|
||||
fdclose 2
|
||||
|
||||
foreground {
|
||||
foreground { mkdir -p $DEST } mount -t $FSTYPE -o $OPTS mqueue $DEST
|
||||
foreground {
|
||||
mkdir -p $DEST
|
||||
} mount -t $FSTYPE -o $OPTS mqueue $DEST
|
||||
} if -nt {
|
||||
importas status ? test $status -eq 1
|
||||
}
|
|
@ -1,18 +1,21 @@
|
|||
#!/bin/execlineb -P
|
||||
s6-envdir -i /etc/s6/env/core/path
|
||||
s6-envdir -i /etc/s6/env/path
|
||||
importas -i PATH PATH
|
||||
s6-envdir -i /etc/s6/env/core/mount.dev-pts
|
||||
importas -i OPTS OPTS
|
||||
emptyenv
|
||||
|
||||
export PATH $PATH
|
||||
define DEST /dev/pts
|
||||
define FSTYPE devpts
|
||||
define OPTS nosuid,noexec,mode=620
|
||||
|
||||
fdclose 1
|
||||
fdclose 2
|
||||
|
||||
foreground {
|
||||
foreground { mkdir -p $DEST } mount -t $FSTYPE -o $OPTS pts $DEST
|
||||
foreground {
|
||||
mkdir -p $DEST
|
||||
} mount -t $FSTYPE -o $OPTS pts $DEST
|
||||
} if -nt {
|
||||
importas status ? test $status -eq 1
|
||||
}
|
|
@ -1,18 +1,21 @@
|
|||
#!/bin/execlineb -P
|
||||
s6-envdir -i /etc/s6/env/core/path
|
||||
s6-envdir -i /etc/s6/env/path
|
||||
importas -i PATH PATH
|
||||
s6-envdir -i /etc/s6/env/core/mount.dev-shm
|
||||
importas -i OPTS OPTS
|
||||
emptyenv
|
||||
|
||||
export PATH $PATH
|
||||
define DEST /dev/shm
|
||||
define FSTYPE shm
|
||||
define OPTS nosuid,noexec
|
||||
|
||||
fdclose 1
|
||||
fdclose 2
|
||||
|
||||
foreground {
|
||||
foreground { mkdir -p $DEST } mount -t $FSTYPE -o $OPTS shm $DEST
|
||||
foreground {
|
||||
mkdir -p $DEST
|
||||
} mount -t $FSTYPE -o $OPTS shm $DEST
|
||||
} if -nt {
|
||||
importas status ? test $status -eq 1
|
||||
}
|
|
@ -1,18 +1,21 @@
|
|||
#!/bin/execlineb -P
|
||||
s6-envdir -i /etc/s6/env/core/path
|
||||
s6-envdir -i /etc/s6/env/path
|
||||
importas -i PATH PATH
|
||||
s6-envdir -i /etc/s6/env/core/mount.dev
|
||||
importas -i OPTS OPTS
|
||||
emptyenv
|
||||
|
||||
export PATH $PATH
|
||||
define DEST /dev
|
||||
define FSTYPE devtmpfs
|
||||
define OPTS nosuid,noexec,mode=755
|
||||
|
||||
fdclose 1
|
||||
fdclose 2
|
||||
|
||||
foreground {
|
||||
foreground { mkdir -p $DEST } mount -t $FSTYPE -o $OPTS dev $DEST
|
||||
foreground {
|
||||
mkdir -p $DEST
|
||||
} mount -t $FSTYPE -o $OPTS devtmpfs $DEST
|
||||
} if -nt {
|
||||
importas status ? test $status -eq 1
|
||||
}
|
||||
|
|
|
@ -1,18 +1,21 @@
|
|||
#!/bin/execlineb -P
|
||||
s6-envdir -i /etc/s6/env/core/path
|
||||
s6-envdir -i /etc/s6/env/path
|
||||
importas -i PATH PATH
|
||||
s6-envdir -i /etc/s6/env/core/mount.proc
|
||||
importas -i OPTS OPTS
|
||||
emptyenv
|
||||
|
||||
export PATH $PATH
|
||||
define DEST /proc
|
||||
define FSTYPE proc
|
||||
define OPTS nosuid,nodev,noexec,hidepid=2
|
||||
define FSTYPE procfs
|
||||
|
||||
fdclose 1
|
||||
fdclose 2
|
||||
|
||||
foreground {
|
||||
foreground { mkdir -p $DEST } mount -t $FSTYPE -o $OPTS proc $DEST
|
||||
foreground {
|
||||
mkdir -p $DEST
|
||||
} mount -t $FSTYPE -o $OPTS procfs $DEST
|
||||
} if -nt {
|
||||
importas status ? test $status -eq 1
|
||||
}
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
oneshot
|
|
@ -1,14 +1,15 @@
|
|||
#!/bin/execlineb -P
|
||||
s6-envdir -i /etc/s6/env/core/path
|
||||
s6-envdir -i /etc/s6/env/path
|
||||
importas -i PATH PATH
|
||||
emptyenv
|
||||
|
||||
export PATH $PATH
|
||||
define DEST /
|
||||
define FSTYPE ext4
|
||||
define OPTS remount,rw
|
||||
|
||||
fdclose 1
|
||||
fdclose 2
|
||||
|
||||
foreground { mkdir -p $DEST } mount -t $FSTYPE -o $OPTS none $DEST
|
||||
foreground {
|
||||
mkdir -p $DEST
|
||||
} mount -o $OPTS none $DEST
|
|
@ -1,14 +1,17 @@
|
|||
#!/bin/execlineb -P
|
||||
s6-envdir -i /etc/s6/env/core/path
|
||||
s6-envdir -i /etc/s6/env/path
|
||||
importas -i PATH PATH
|
||||
s6-envdir -i /etc/s6/env/core/mount.run
|
||||
importas -i OPTS OPTS
|
||||
emptyenv
|
||||
|
||||
export PATH $PATH
|
||||
define DEST /run
|
||||
define FSTYPE tmpfs
|
||||
define OPTS nodev,nosuid
|
||||
|
||||
fdclose 1
|
||||
fdclose 2
|
||||
|
||||
foreground { mkdir -p $DEST } mount -t $FSTYPE -o $OPTS run $DEST
|
||||
foreground {
|
||||
mkdir -p $DEST
|
||||
} mount -t $FSTYPE -o $OPTS run $DEST
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
oneshot
|
|
@ -0,0 +1,17 @@
|
|||
#!/bin/execlineb -P
|
||||
s6-envdir -i /etc/s6/env/path
|
||||
importas -i PATH PATH
|
||||
s6-envdir -i /etc/s6/env/core/mount.sys-firmware-efi-efivars
|
||||
importas -i OPTS OPTS
|
||||
emptyenv
|
||||
|
||||
export PATH $PATH
|
||||
define DEST /sys/firmware/efi/efivars
|
||||
define FSTYPE efivarfs
|
||||
|
||||
fdclose 1
|
||||
fdclose 2
|
||||
|
||||
foreground {
|
||||
mkdir -p $DEST
|
||||
} mount -t $FSTYPE -o $OPTS securityfs $DEST
|
|
@ -0,0 +1 @@
|
|||
oneshot
|
|
@ -0,0 +1,17 @@
|
|||
#!/bin/execlineb -P
|
||||
s6-envdir -i /etc/s6/env/path
|
||||
importas -i PATH PATH
|
||||
s6-envdir -i /etc/s6/env/core/mount.sys-fs-pstore
|
||||
importas -i OPTS OPTS
|
||||
emptyenv
|
||||
|
||||
export PATH $PATH
|
||||
define DEST /sys/fs/pstore
|
||||
define FSTYPE pstore
|
||||
|
||||
fdclose 1
|
||||
fdclose 2
|
||||
|
||||
foreground {
|
||||
mkdir -p $DEST
|
||||
} mount -t $FSTYPE -o $OPTS securityfs $DEST
|
|
@ -0,0 +1 @@
|
|||
oneshot
|
|
@ -1,18 +1,21 @@
|
|||
#!/bin/execlineb -P
|
||||
s6-envdir -i /etc/s6/env/core/path
|
||||
s6-envdir -i /etc/s6/env/path
|
||||
importas -i PATH PATH
|
||||
s6-envdir -i /etc/s6/env/core/mount.sys-kernel-security
|
||||
importas -i OPTS OPTS
|
||||
emptyenv
|
||||
|
||||
export PATH $PATH
|
||||
define DEST /sys/kernel/security
|
||||
define FSTYPE securityfs
|
||||
define OPTS nosuid,nodev,noexec
|
||||
|
||||
fdclose 1
|
||||
fdclose 2
|
||||
|
||||
foreground {
|
||||
foreground { mkdir -p $DEST } mount -t $FSTYPE -o $OPTS securityfs $DEST
|
||||
foreground {
|
||||
mkdir -p $DEST
|
||||
} mount -t $FSTYPE -o $OPTS securityfs $DEST
|
||||
} if -nt {
|
||||
importas status ? test $status -eq 1
|
||||
}
|
|
@ -1,18 +1,21 @@
|
|||
#!/bin/execlineb -P
|
||||
s6-envdir -i /etc/s6/env/core/path
|
||||
s6-envdir -i /etc/s6/env/path
|
||||
importas -i PATH PATH
|
||||
s6-envdir -i /etc/s6/env/core/mount.sys
|
||||
importas -i OPTS OPTS
|
||||
emptyenv
|
||||
|
||||
export PATH $PATH
|
||||
define DEST /sys
|
||||
define FSTYPE sysfs
|
||||
define OPTS nosuid,nodev,noexec
|
||||
|
||||
fdclose 1
|
||||
fdclose 2
|
||||
|
||||
foreground {
|
||||
foreground { mkdir -p $DEST } mount -t $FSTYPE -o $OPTS sysfs $DEST
|
||||
foreground {
|
||||
mkdir -p $DEST
|
||||
} mount -t $FSTYPE -o $OPTS sysfs $DEST
|
||||
} if -nt {
|
||||
importas status ? test $status -eq 1
|
||||
}
|
||||
|
|
|
@ -1,14 +1,17 @@
|
|||
#!/bin/execlineb -P
|
||||
s6-envdir -i /etc/s6/env/core/path
|
||||
s6-envdir -i /etc/s6/env/path
|
||||
importas -i PATH PATH
|
||||
s6-envdir -i /etc/s6/env/core/mount.tmp
|
||||
importas -i OPTS OPTS
|
||||
emptyenv
|
||||
|
||||
export PATH $PATH
|
||||
define DEST /tmp
|
||||
define FSTYPE tmpfs
|
||||
define OPTS nodev,nosuid
|
||||
|
||||
fdclose 1
|
||||
fdclose 2
|
||||
|
||||
foreground { mkdir -p $DEST } mount -t $FSTYPE -o $OPTS tmp $DEST
|
||||
foreground {
|
||||
mkdir -p $DEST
|
||||
} mount -t $FSTYPE -o $OPTS tmp $DEST
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue